Re: real time php

From: Date: Mon, 24 Jun 2002 14:19:12 +0000
Subject: Re: real time php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103592@lists.php.net to get a copy of this message
>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...

« previous php.general (#103592) next »