Page 1 of 2
Private Messaging, like what we have here!
Posted: Tue Nov 21, 2006 10:52 am
by gfirman
Hi,
I am new to this forum and am looking for some help from all you experts out there.
Basically I am doing a college project which involves a private messaging system. The database I am using is MySQL.
It is to be a simple pm system where one can send messages, receive messages, delete messages etc. Also, a message to appear on a users homepage to say a new message has been received, is required.
Basically the system is something like what is in this forum page.
Also some help with setting up MySQL tables would be helpful.
Any links to code would be very helpful as well.
Thanks to everyone who replies
Posted: Tue Nov 21, 2006 11:02 am
by JayBird
Posted: Tue Nov 21, 2006 11:07 am
by gfirman
Thanks man, i'll check it out
Posted: Tue Nov 21, 2006 11:14 am
by onion2k
gfirman wrote:Thanks man, i'll check it out
Don't. It's a college project. You're supposed to work it out for yourself using your brain. Ask questions here for sure, but don't just read someone else's code and copy their ideas. That's really lame.
Posted: Tue Nov 21, 2006 11:18 am
by gfirman
Hey man, I am new to all this and it is mind boggeling what you can do. I just need someone to point me in the right direction. Having been looking at some php code and trying to figure what is going on. Just any tips would be very greatful
Posted: Tue Nov 21, 2006 11:29 am
by gfirman
To anyone interested, don't bother to look at hotscripts.com for private messaging. I can't find anything about it there
Posted: Tue Nov 21, 2006 12:13 pm
by John Cartwright
gfirman wrote:Hey man, I am new to all this and it is mind boggeling what you can do. I just need someone to point me in the right direction. Having been looking at some php code and trying to figure what is going on. Just any tips would be very greatful
I don't know about anyone else but I certainly won't help you cheat on an assignment. What I will do is help you anyway possible; if you have any questions just let us know.
Posted: Tue Nov 21, 2006 12:26 pm
by RobertGonzalez
Think about the logic behind what you want to do. Document the steps, then code the documentation. Refactor as needed to get what you want to get to.
Posted: Tue Nov 21, 2006 1:17 pm
by Charles256
google phpmyadmin. that'll make the table thign a whole hell of a lot easier.

be careful to follow the install instructions precisely or things will get sticky...if your on a shared host they'll probably all ready have phpmyadmin all ready set up for you.
Posted: Tue Nov 21, 2006 1:27 pm
by gfirman
Yes I have phpmyadmin set up. The trouble is just putting the system together. Making sure the tables are right and that they are working properly with the php code. I am only new to this so its a bit complex for me now, but i'm sure i'll get the hang of it.
Posted: Tue Nov 21, 2006 1:48 pm
by onion2k
gfirman wrote:Yes I have phpmyadmin set up. The trouble is just putting the system together. Making sure the tables are right and that they are working properly with the php code. I am only new to this so its a bit complex for me now, but i'm sure i'll get the hang of it.
Surely you can't be completely new to it, they must have taught you something about it at college if it's an project you've been given.
Posted: Tue Nov 21, 2006 1:59 pm
by gfirman
Yes I am completely new to php. I have read an ebook about php and also about MySQL, so I know the basics. Our lecturers say that the code is all out there - that we just have to find it and put it together, but easier said than done. Theres a big difference between knowing the basics and trying to implement a private message system.
Posted: Tue Nov 21, 2006 2:14 pm
by RobertGonzalez
Are you supposed to find the code or build the code?
Posted: Tue Nov 21, 2006 2:23 pm
by gfirman
Basically, we have to find the code and then modify it to suit what we are doing. I'm looking for code now but it seems to be in bits and piece. So it looks like it will have to be put together like a jigsaw.
I have researched this and am making slow progress. There doesn't seem to be many tutorials about pm systems, and the code is all broken up. So I decided to find a forum and try and find some advice from all you experts out there. But I know you can't really help me if I don't ask any questions, but its hard to know what to ask.
Posted: Tue Nov 21, 2006 2:41 pm
by daedalus__
users need to be able to:
register
log-in
read pm's
send pm's
delete pm's
think about how to implement those pages
you need to read about conditional statements and mysql functions
http://www.php.net/manual