Chat Box in PHP


Posted on 16th Feb 2014 07:03 pm by admin

I was thinking in doing a Chat Box in PHP. For that I would use a form with two fields, Nick and Message, then I would store the data in a DB and show them.
I have already made the code for this. In the Chat Boxes I saw there the tima/date always appears in front of the messages.
I don't need the time but I'd want to send to a database field the date of the moment when the user clicks the subtim button for orientation purposes.
Can someone give me an hint on how to do this?
Thanks

No comments posted yet

Your Answer:

Login to answer
65 Like 38 Dislike
Previous forums Next forums
Other forums

php ajax - two drop down list with a submit button
i have created a form with 2 drop-down list and a submit button. I would like to know how to pass th

Php If in MySql query (hiding labels if a field is empty)
Okay, I've been trying to do this for a while, and I'm finally going to ask for help so I can get th

Displaying an image using echo command
I had done a query on my database, one of the fields being an image reference to a directory where a

Array disappearing in foreach loop
Okay, I have this problem where an array will become undefined in a foreach loop.

Here is the

PHP Upload issue
Hi guys,

I have stumble across an interesting issue with my script and is doing my head in.

FTP Programs
Here is a list of commonly suggested FTP Programs to use:

FileZilla
SmartFTP
CuteFTP

values in array being escaped
I would like to submit some values - back to the same form for checking before processing...

Filtering Tables
Hello Thanks for any help any one can give Im very new to PHP..

I need to pull data for clien

Showing selected item at top of list
Hi,

I've got a list of names which i am fetching from database like this:
$qry = db_query

Slashes
Have a small problem and I'm not able to understand why I'm getting the results I'm getting... and i

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash