ki Posted April 30, 2007 Share Posted April 30, 2007 Okay I wanna know how I can add variables into one giant array. okay I have a table with 2 columns, friend1 & friend2, I want it to be able to get all of the friends with 1 id so like SELECT * FROM `user_friends` WHERE `friend1` = '".$_SESSION['id']."' How would I turn that into an array? Link to comment https://forums.phpfreaks.com/topic/49303-mysql-array/ Share on other sites More sharing options...
trq Posted April 30, 2007 Share Posted April 30, 2007 mysql_fetch_array. Link to comment https://forums.phpfreaks.com/topic/49303-mysql-array/#findComment-241581 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.