RE: [PHP] mysql php - while loops

2002-02-27 Thread Craig Westerman
M To: 'Craig Westerman'; php-general-list Subject: RE: [PHP] mysql php - while loops with a bit of cheating... use a table... (nb: this code not tested, but logic has) " ?> - - "; $i++; } ?> -Original Message- From: Craig Westerman [mailto:[EMAIL PROTECTE

RE: [PHP] mysql php - while loops

2002-02-27 Thread Stewart G.
After the loop has finished executing add another line if ($i % $cols != $cols-1) { print ""; } Otherwise once the loop has finished if not EXACLTY $i % $cols == $cols-1 then there would be no after the last row which could cause display problems in the user agent (other than the fact that it

RE: [PHP] mysql php - while loops

2002-02-26 Thread Martin Towell
with a bit of cheating... use a table... (nb: this code not tested, but logic has) " ?> - - "; $i++; } ?> -Original Message- From: Craig Westerman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 11:43 AM To: php-general-list Subject: [PHP] mysql php - while loops