Jump to content

PHP Game: Stop SQL Execution Until Specific Seconds Have Gone Past


dotPHP

Recommended Posts

Hello. I am creating a PHP game, and I am stuck on a small line of code. Basically, when users have a job, and when they click a button to go to work, they'd be paid one hour later (as in, the SQL query will be executed one hour later). I am testing it so the time is at 10 seconds, so it shouldn't update for 10 seconds, but instead it is executed automatically. Here is the pastebin: http://pastebin.com/d63fbbabe

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.