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
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
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
3 matches
Mail list logo