Jump to content


Photo

How can I make a private messaging system with PHP/MySQL?


  • Please log in to reply
1 reply to this topic

#1 Pi_Mastuh

Pi_Mastuh
  • Members
  • PipPipPip
  • Advanced Member
  • 233 posts
  • LocationMN

Posted 26 August 2006 - 08:18 PM

I want to add a user to user private messaging system with an inbox and ability to send messages to another user's inbox. How would I do that and what would the code be?  ???

Schroedinger's Cat walks into a bar.
And doesn't.

#2 gerkintrigg

gerkintrigg
  • Members
  • PipPipPip
  • Magician
  • 828 posts
  • LocationBristol, UK
  • Age:37

Posted 26 August 2006 - 08:34 PM

er... asking for freebies? Not the best way to get responses on here really... I'd suggest you make a membership system first. There are tutorials on the main phpfreaks site for that. Then create a private message table in the database with the member table's primary key as a foreign key for the private message table. That's what i do. If you don't understand what I'm talking about then you'd probably not get any cut-and-paste code to work anyway.
Neil Trigger - http://www.ghostlypublishing.co.uk - Ghostly Publishing - Children's Fantasy Books




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users