Skip navigation links

MySQL Forums :: PHP :: How to call certain information from Mysql using PHP


Advanced Search

How to call certain information from Mysql using PHP
Posted by: Johnhenry Milbourne ()
Date: November 04, 2009 05:02PM

Okay, I don't know what to call this, or where I should exactly place this so please bare with me.

Here's the best way I can explain my problem.

I am trying to make a friends feature using PHP and obviously MySql. I want to make it so that the friends of each user is in one database table for each user.

For instance:

TABLE NAME 'users':
'id'
'username'
'password'
'friends' '1, 4, 75, 34, 25'

The numbers being the User ID's of the friends. Inserting the informaton into the database is not the problem. The prolem is calling the information using PHP so that each friend is seperate allowing me to use the User ID's to get the information for each fried. That is something I cannot figure out how to do for the life of me.

Can anyone shed some light on my dilemna? I would be very much appreciative.

Options: ReplyQuote


Subject Written By Posted
How to call certain information from Mysql using PHP Johnhenry Milbourne 11/04/2009 05:02PM
Re: How to call certain information from Mysql using PHP Peter Brawley 11/04/2009 11:21PM
Re: How to call certain information from Mysql using PHP Johnhenry Milbourne 11/05/2009 12:39PM
Re: How to call certain information from Mysql using PHP Peter Brawley 11/05/2009 03:23PM
Re: How to call certain information from Mysql using PHP Johnhenry Milbourne 11/05/2009 05:53PM
Re: How to call certain information from Mysql using PHP Peter Brawley 11/05/2009 08:49PM
Re: How to call certain information from Mysql using PHP Johnhenry Milbourne 11/06/2009 10:26AM
Re: How to call certain information from Mysql using PHP Peter Brawley 11/06/2009 01:32PM
Re: How to call certain information from Mysql using PHP jarrod christman 11/09/2009 10:27PM


Sorry, only registered users may post in this forum.