Forum Moderators: coopster

Message Too Old, No Replies

Timers

         

fib_81

4:13 pm on Mar 3, 2006 (gmt 0)

10+ Year Member



Hi Everyone,

Is there a way for php to have a timer( does not use classes and objects) that constantly checks if thirty seconds goes by and if so an image on the webpage changes?

Thanks

jatar_k

5:46 pm on Mar 3, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



not with out reloading the page as php is server side

I would look at a javascript soution if you don't want the page to refresh

phparion

7:16 pm on Mar 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I agree to Admin, use javascript if you dont want to refresh page after 30 secs. however if you want to do with refreshing page then just put 30 seconds interval in REFRESH in meta tag and use php or javascript RANDOM function to change the images.