liamloveslearning Posted May 21, 2011 Share Posted May 21, 2011 Hi all, having a strange problem with my query Its only returning some of my data, and in the format User 1 <br /> <br /> User 2 <br /> <br /> <br /> <br /> $newmembers = "SELECT * FROM users WHERE linked_user IS NOT NULL ORDER BY datejoined LIMIT 6"; $nmresult = mysql_query($newmembers); while($row = mysql_fetch_array($nmresult)){ echo $row['linked_user']; echo "<br />";} ?> Quote Link to comment https://forums.phpfreaks.com/topic/237047-query-error/ Share on other sites More sharing options...
liamloveslearning Posted May 21, 2011 Author Share Posted May 21, 2011 nevermind, sorted should have used != '' Quote Link to comment https://forums.phpfreaks.com/topic/237047-query-error/#findComment-1218413 Share on other sites More sharing options...
PFMaBiSmAd Posted May 21, 2011 Share Posted May 21, 2011 ^^^ Just as well, because without your actual code that was producing the symptom, no one could have helped you with the problem anyway. Quote Link to comment https://forums.phpfreaks.com/topic/237047-query-error/#findComment-1218414 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.