Re: real time php

From: Date: Mon, 24 Jun 2002 14:15:32 +0000
Subject: Re: real time php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103591@lists.php.net to get a copy of this message
On Monday, June 24, 2002, at 10:04 AM, adi wrote:
How to make a function for refreshing values in php pages, without pressing Refresh button. What must i read?
There's a meta tag that will auto-refresh the page after a specified number of seconds. That will work. But you can't re-populate the data in the page using PHP. Remember, PHP has generated an HTML document and sent it to the user's browser. That is all. If you are creative, you can use JavaScript to solve the problem, but it will require some kind of communication with the web server, and won't work if the user doesn't have the right implementation of JavaScript. That can be a headache. or you can write a Java applet (actually for this kind of task I recommend this). Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#103591) next »