Untitled
public php v1 · immutable#display results $i = -1; while ($row = mysql_fetch_array($result)) { $i++; if ( $i >= 4 ) { $i = 0; echo "<br />"; } echo "<a href=\"$row[0]\" target=\"_blank\"><img src=\"$row[1]\" cellspace=\"5\" cellpadding=\"4\" border=\"2\" /></a> "; }