Forum Moderators: open

Message Too Old, No Replies

PHP auto refresh functions

         

svenjacobs

8:41 am on Sep 24, 2008 (gmt 0)

10+ Year Member



I'm creating an intranet page. From the index.php page I load some functions.
Everything works but i'm looking for a way to only refresh some of the function. (to check for new content in the database or something)

I've been searching for days but don't seem to find the correct code :-(
Or they use meta tags to refresh complete pages or you need to press a button to refresh.
I looking for automaticly refreshing the functions ....

MichaelBluejay

2:39 pm on Sep 25, 2008 (gmt 0)

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



I think what you want is the setTimeout() function, which allows you to specify that commands be repeated at a specified interval. Google it and see if that's what you need.