Display WAITING on webpage using PHP Ajax & mysql
Posted on 2012-04-11
I have only started looking into this but it could be complex...
I want to be able to display a WAITING screen on a php page whilst the value of ready in a mysql database is 0. When I update the mysql READY field to 1 the waiting screen goes.
The goal eventually will be:
User click to voting.php
User sees waiting box
When I want the user to start voting the first question shows.
User can then complete all questions to the end.
Do you have any thought on this??
I thought perhaps have an ajax call every second until ready =1...
Any other ideas.