Page 1 of 1

Re: mySQL table query - only returning first row?

Posted: Fri Sep 21, 2012 12:33 pm
by NigelRen
After calling mysql_query, you should use something like...

Code: Select all

while ($row_Booking_System = mysql_fetch_assoc($Booking_System)) {
// Do something for each row
}