Jump to content

[SOLVED] mysql_fetch_array() not valid?


lilwing

Recommended Posts

I get this message quite a lot. Especially when using loops. What's my mistake?

 

<?php$query = mysql_query('SELECT Staff FROM biographies ORDER BY username ASC');
while($row = mysql_fetch_array($query)) {
  $list = $row['Staff'];

echo('<li><a href="http://www.[neah].org/auth/admin.php?contentedit='.$list.'">'.$list.'</a></li>');

}

?>

Link to comment
https://forums.phpfreaks.com/topic/115476-solved-mysql_fetch_array-not-valid/
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.