Mulitiple Database rows,
Posted: Tue Apr 20, 2004 6:17 am
Im after displaying multiple rows in PHP with a mysql database, and inserting them into a menu system.
the problem is that it repeats the first row n number of times,
[Edited because: viewtopic.php?t=21171 --JAM]
the problem is that it repeats the first row n number of times,
Code: Select all
$menuTitle = ($row_rsHome['pageTitle']);
$menuURL = ($row_rsHome['pageURL']);
do {
SSAddMenuItem ("$menuTitle","$menuURL", "",$home);
} while ($row_rsHome = mysql_fetch_assoc($rsHome));