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? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/49303-mysql-array/#findComment-241581 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.