Could someone give me a hint?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
phpsmart
Forum Newbie
Posts: 6
Joined: Wed Jan 31, 2007 5:20 pm

Could someone give me a hint?

Post by phpsmart »

Hello

I tried the chat script called (a mysql driven chat) and it worked well, but it doesn't support sending private messages between users...

Does anyone know how to establish a private message between users in a chat room using php & mysql
(code, methodology or anything that can help)....
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

hint: don't post entirely in bold or coloring your whole post.

:|

If you can create new "rooms" in this script that aren't "public" that's about as close as you need probably.
User avatar
PrObLeM
Forum Contributor
Posts: 418
Joined: Sun Mar 07, 2004 2:30 pm
Location: Mesa, AZ
Contact:

Post by PrObLeM »

in the database set an ENUM with either "public" or "private" and select messages according to that.
Post Reply