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
phpsmart
Forum Newbie
Posts: 6 Joined: Wed Jan 31, 2007 5:20 pm
Post
by phpsmart » Thu Feb 01, 2007 5:57 am
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)....
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu Feb 01, 2007 9:24 am
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.
PrObLeM
Forum Contributor
Posts: 418 Joined: Sun Mar 07, 2004 2:30 pm
Location: Mesa, AZ
Contact:
Post
by PrObLeM » Thu Feb 01, 2007 10:39 am
in the database set an ENUM with either "public" or "private" and select messages according to that.