Immediately won't be possible as far as I know. For that, you have to create a server socket, which is not (easily) able in php-scripts. But you can use javascript to refresh the page. You could even create a 0 frame which reloads by javascript and use DHTML to add the messages to the main chat frame. In this way it is the most transparant to the users. As you might know java applets are far more suitable for this kind of things (chat client).
"Sami kyösti" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi! > > Is it possible to create a chat screen that updates screen in some kind > of loop from the database? > > So if someone sends a message to database it immediately shows on chat > screen? > > Kind regards, > Sami > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php