Good job on the coding, im guessing this is just a random system, but imagine what you could turn it into.. Bit like having 50,000 members on your site have it picka random number (members number) and give them a prize (raffle system)
RE: Make luck game with PHP
05-08-2017, 02:27 AM
This post was last modified: 05-08-2017, 02:27 AM by dev
Invalid comment syntax, should eval $_SERVER['REQUEST_METHOD'] in your condition instead of just checking if POST assoc array isset, also set headers before rendering any HTML and perhaps just toggling a class in JS if the answer is correct. In fact, just port this entire site to JS, should take 5 minutes tops.