Jump to content


Photo

Chat Problem


  • Please log in to reply
3 replies to this topic

#1 xyn

xyn
  • Members
  • PipPipPip
  • Advanced Member
  • 779 posts
  • LocationNorthampton

Posted 26 October 2006 - 01:28 PM

hi.
I'm trying to design my own little chat room, which is mainly for
one-to-one discussions between myself and my clients which are
every discussion is logged and the client can have a version of it
emailed to them, this is simple for me to do, although i have one
problem, I wonder if anyone could help me...

Basically I have a frame and a text-box, and when the form is
submitted I was thinking how I was going to make a continus
script checking the SQL for "NEW" inputs on the chat if there
are new inputs then show them. without needing to refresh.

If i'm thinking of something impossible could someone explain to
me soemthing which you recommend?

Thanks.

#2 Psycho

Psycho
  • Moderators
  • Move along, nothing to see here
  • 11,892 posts
  • LocationCanada

Posted 26 October 2006 - 02:46 PM

Wow, that's freaky. I just finished reading an article in Better Software the other day which explained how to use AJAX using an example exactly the same as what you are trying to do.

Here is a link to the magazine with the article name, but the content doesn't appear to be available online. You might want to check your library for it: The Many Layers of AJAX
The quality of the responses received is directly proportional to the quality of the question asked.

I do not always test the code I provide, so there may be some syntax errors. In 99% of all cases I found the solution to your problem here: http://www.php.net

#3 Psycho

Psycho
  • Moderators
  • Move along, nothing to see here
  • 11,892 posts
  • LocationCanada

Posted 26 October 2006 - 02:49 PM

OK, I found the article online => The Many Layers of AJAX

The only problem is that the images that contain the code are very hard to read.
The quality of the responses received is directly proportional to the quality of the question asked.

I do not always test the code I provide, so there may be some syntax errors. In 99% of all cases I found the solution to your problem here: http://www.php.net

#4 xyn

xyn
  • Members
  • PipPipPip
  • Advanced Member
  • 779 posts
  • LocationNorthampton

Posted 26 October 2006 - 02:57 PM

Thank you! :]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users