Why PHP cannot do background check with the same of Java Script?

At 22:28 25/7/2001 -0400, Hugh Bothwell wrote:

>"Sommai Fongnamthip" <[EMAIL PROTECTED]> wrote in message
> > Hi,
> > I decide to make real time application (like stock market or online
> > news).  How could I know when new data arrive to table and retrieve them
> > display or update in web page?
>You can't, actually, short of using server-side push;
>what you can do is periodically requery the server; either reload the page
>every so often, or (better) use a flag file - set it when data is changed -
>and check it in the background with JavaScript, then reload the page only
>when it is set.
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to