Kez323 Posted August 11, 2013 Share Posted August 11, 2013 hey, this should echo all of the results from the query, right? in the database there is more than 1 fields to echo, but it only echos 1, whats wrong with it? $getid = mysql_query("SELECT * FROM $tbl_name WHERE userid='$id'", $connect); $idresults= mysql_fetch_array($getid); while($idresults= mysql_fetch_array($getid)){ echo $idresults['frienduserid']; } Quote Link to comment Share on other sites More sharing options...
Solution KevinM1 Posted August 11, 2013 Solution Share Posted August 11, 2013 Get rid of line 14. Quote Link to comment 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.