I've used bits and peices from tutorials, however i can't seem to get it to work, can anyone figure out why?
Also, the below posts are about the post that was here before, just reply about this one please.

rlemon

05-23-2005, 06:46 AM

i'm not really understanding what you mean by "real time" timer?

is 3 seconds not 3 seconds no matter how you do it? as long as the time is exactly 3 seconds and the page refreshes..

maybe i'm missing something?

Shwaza

05-23-2005, 02:17 PM

I'm talking about XMLHttpRequest, do you know what that is? I don't want anything to do with refreshes.

rlemon

05-23-2005, 05:06 PM

yes,
i know what XMLHTTPRequest is.

still don't understand your question.

Shwaza

05-23-2005, 06:16 PM

How could i use XMLHttpRequest for my chat without having to use refresh.

rlemon

05-24-2005, 04:39 PM

i don't know that, and i'm not saying you do that. however i still don't know what 'real time chat' and xmlHTTPRequest have to do with eachother. your not being specific with your question.

so if i'm correct your building a site chat program and you need it to refresh every 3 seconds to keep people up-to-date in the chat?

and this is what you want to do correct?
now if thats all then it's easy. if (and this is what i think your asking for) you need to update the chat, but not reload the page. then we can work out something.

Shwaza

05-24-2005, 09:12 PM

Yes, that's what i'm trying to do.

All i need to do, is use XMLHttpRequest in the file chat.htm to just print out all the information made by chat.php, and every 3 seconds update that information. Can you help?