php-db | 2001072
Date: 07/25/01
- Next message: Sommai Fongnamthip: "Re: [PHP-DB] Re: new data detect"
- Previous message: Jordan: "Re: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?"
- In reply to: Sommai Fongnamthip: "[PHP-DB] new data detect"
- Next in thread: Sommai Fongnamthip: "Re: [PHP-DB] Re: new data detect"
- Reply: Sommai Fongnamthip: "Re: [PHP-DB] Re: new data detect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Sommai Fongnamthip" <sommai <email protected>> wrote in message
news:5.1.0.14.2.20010726085848.00a7f760 <email protected>
> 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
to
> 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: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sommai Fongnamthip: "Re: [PHP-DB] Re: new data detect"
- Previous message: Jordan: "Re: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?"
- In reply to: Sommai Fongnamthip: "[PHP-DB] new data detect"
- Next in thread: Sommai Fongnamthip: "Re: [PHP-DB] Re: new data detect"
- Reply: Sommai Fongnamthip: "Re: [PHP-DB] Re: new data detect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

