'; echo ''; if($count%$cols == ($cols - 1)) echo ''; $count++; } echo '
 
 

'; // set column variables $cols = 1; $count = 0; foreach($linkData as $link){ if($count%$cols == 0) echo '
'.htmlspecialchars_decode_php4(mysql_output($link['title'])).'
'.htmlspecialchars_decode_php4(mysql_output($link['location'])).'
'; ?>