hello,
in my php script i have 2 variables which get updated from mysql :
$time and $time_destination
in $time i store the current time and in $time_destination there is another time which is in future for example 3 mins forward!
now i want to have a "loading bar" picture until $time is not equal to $time_destination, when they are equal i will make a new query to another mysql field and get some text and show it to them and at the same time when $time is lower it will refresh using ajax.
so basically it will be refreshing until those 2 variables are not equal, when they are equal it does another query and outputs the result.
any reference or link to ajax examples which i can do this ?
thanks