$data) { $numcells = count($pictures); ?>  \n"); } else if (($cell == 2) and ($numcells > 0)) // if end of row, more cells, end row, start new row, reset counter { echo ("\n\n"); $cell = 0; } else if (($cell == 2) and ($numcells == 0)) // if end of row, and no more cells, end row { echo (""); } ?>

"; ?>
$data) { $cell = 0; $numcells = count($data);?>

$subdata) { extract($subdata); // now you can use $id and $title ?> $blankcode\n\n"); } else if (($cell == 2) and ($numcells == 0)) // if no more cells, at column two, print blank cell, end row { echo ("\n"); } else if (($cell == 3) and ($numcells > 0)) // if end of row, more cells, end row, start new row, reset counter { echo ("\n\n"); $cell = 0; } else if (($cell == 3) and ($numcells == 0)) // if end of row, and no more cells, end row { echo (""); } } //END foreach ($data ?>
*/ ?>

Click for a random cut of <? echo $title; ?>

$blankcode
$blankcode