RE: [PHP] Refreshing
| From: | Jay Blanchard | Date: | Mon, 30 Jun 2003 17:41:56 +0000 |
| Subject: | RE: [PHP] Refreshing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-153443@lists.php.net to get a copy of this message | ||
[snip]
I have a chat script. I want it to refresh the chat display area
whenever there is a new message posted, but not every 10 seconds or so.
How could I get the script to refresh only when there is a new entry
into the database table?
Also, this may not be PHP but...does anyone know how to stop the
annoying click on Internet Explorer when something refreshes?
[/snip]
1. Nope, not with PHP. Well, you could but it would require a script
running in a loop in the background, checking for new data, then calling
a header redirect of some sort. That is kludgy and would require the
looping doohickey for each conversation within the chat.
2. You can disable sounds in a themes thingie, depends on which windoze
version you own.
HTH!
Jay