[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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php