Getting data from a DB for a php post

时间:2016-02-12 21:11:21

标签: php mysql database

I've been working on a mafia game, in PHP. And I'm on to the Crimes page. I want it to be done by the database, so I can add crimes etc whenever. I've managed to make it echo the Crime names and payouts to the page, but I'm having trouble when pressing the commit button.

I hope this makes sense.

   object1.setOnMouseClicked( event -> {
        System.out.println("HELLO");
    });

   object2.setOnMouseClicked( event -> {
        System.out.println("HELLO");
    });

This is my code. The top part only echos out one of the crime names, not the other.

0 个答案:

没有答案