Jump to content

Query error


Recommended Posts

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 />";}

?>

 

 

Link to comment
https://forums.phpfreaks.com/topic/237047-query-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.