"; do { for ($i=0; $i"; } while ($row = mysql_fetch_row($result)); echo ""; } else echo "Sorry, no records were found!"; ?>