PHP - creating a contact/user list among existing users

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
kabuki1985
Forum Commoner
Posts: 32
Joined: Thu Jun 15, 2006 10:19 pm

PHP - creating a contact/user list among existing users

Post by kabuki1985 »

Hi, I was wondering how is it possible to build a contact list among users using php/mysql ? Users can add existing user to their list to allow certain privillege information to be seen, allow messaging,etc.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Have you tried anything yet? Look at the logic involved, then code a little bit. I would guess what you are going to need to do is set up some db tables to house the information on who is in who's list, then create a select SQL to grab that table information based on logged-in user's id.

As for adding people, again, think about it logically, then put some code down and test it. It should be something as simple as a user being able search for, and and, another user in the system.
Post Reply