Weird Error
Posted: Tue Jul 08, 2003 11:07 am
Parse error: parse error in /home/httpd/vhosts/mydomain.com/httpdocs/thumbs.php on line 49
Code: Select all
<?php
//*********************************
// What the hell is going on?
//*********************************
$columns = 3;
$a = '0';
while (list ($key, $val) = #each ($itemname)) {
//$columns is how many columns are in your table once $a reaches the value of
//$columns it will terminate the row in the table and create another one.
if ($a % $columns == 0) // LINE 49
{
echo "</TR>";
echo "<TR>";
}
echo "<TD ALIGN=CENTER VALIGN=CENTER>";
?>