<< Previous 100"); } echo(" | Page " . $page . " of " . $page_count . " | "); if (($x + 100) >= $count) { echo("Next 100 >>"); } else { echo("Next 100 >>"); } ?> \n"; print " TitlePriceInstrumentsFormatsGenrePublisherInformation \n"; $count=1; for($i = 0; $i < $numofrows; $i++) { $row = mysql_fetch_array($result); //get a row from our result set if($i % 2) { //this means if there is a remainder print "\n"; } else { //if there isn't a remainder we will do the else print "\n"; } print "$row[title]\$$row[list_price]$row[instruments]$row[formats]$row[genres]$row[publisher]$row[datafeed_description]"; print "\n"; $count++; } //now let's close the table and be done with it print "\n"; ?> << Previous 100"); } echo(" | Page " . $page . " of " . $page_count . " | "); if (($x + 100) >= $count) { echo("Next 100 >>"); } else { echo("Next 100 >>"); } ?>