No Business Listings in Database."; /* Print these results to the screen in a nice format */ ELSEIF ($number > 0) : PRINT "\n\n"; PRINT "\n\n"; PRINT "\n"; PRINT "\n"; PRINT "\n"; PRINT "\n"; PRINT "
DBA Business Listing Directory
\n"; WHILE ($i < $tablenum1): $showCat = mysql_result($result,$i,"category"); IF ($showCat != "") { PRINT "Dot $showCat

\n"; } ELSE { PRINT "No Category Supplied

\n"; } $i++; ENDWHILE; PRINT "
\n"; WHILE ($i < $number): $showCat = mysql_result($result,$i,"category"); IF ($showCat != "") { PRINT "Dot $showCat

\n"; } ELSE { PRINT "No Category Supplied

\n"; } $i++; ENDWHILE; PRINT "
\n"; ENDIF; /* Close the database connection */ MYSQL_CLOSE(); ?>



© Copyright 2003 for DBA. All Rights.
Site Development and Hosting courtesy of ROD