MySQL infinitely returns the same record

admin

Administrator
Staff member
for some reason, this code makes MySQL keep returning the same record. help!
-------------------------------------------
echo "<ul>";
while ($link = mysql_fetch_array(mysql_query("SELECT * FROM agendas ORDER BY date"))) {
echo "<li><a href=http://www.phpbuilder.com/board/archive/index.php/\"agendas.php?id=" . $link['id'] . "\">Meeting " . $link['id'] . " (" . $link['date'] . ")</a>";
}
echo "</ul>";
-------------------------------------------
 
Back
Top