Hi, i have seen many varies of chat exampels but reasently i came across a way to code a chat using flush... but i have some problem with it to get it to work... anf i hope you could help me... I'm using a frame chat and got the tyingframe at the bottom and the message frame on the top. This is the code i'm using to access
$result = mysql_query("SELECT * FROM chat ORDER BY id ASC");
while ($row = mysql_fetch_array($result)){
echo "($row[tid]) $row[namn] $row[interact] $row[who]: $row[msg]<br><br>";
}
So how can i do this with flush? i have tried but faild ;( i'v read about some cach problem with IE that you'll have to write 300 blank spaces before it will work my question is... HOW and WHERE? i have look in php.net manual on flush() but can't figure it out at all so please help me with this oki??
My second quesion is about Private Messages.,, does anyone know of a code to do this to send a PM to someone in the chat i have no clue on how to do this....
Thank you for reading this and thanks for all the help i hope i will get
//Johan