>I have a program in php, with access at mysql database. >The problem is, my users have to access Refresh button anytime when they want to see >real time values in database. >How to make a function for refreshing values in php pages, without pressing Refresh button. What must i read?
PHP can't control the refreshing. It simply sends the data to the web server, who sends it to the browser, and forgets about it. It's up to you to provide some code that the browser can understand that'll make it request the page again, automatically. Most situations like this are handled with a META REFRESH tag in the header, to request the same page again after X seconds... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php