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"; WHILE ($i < $number): $showImage = mysql_result($result,$i,"com_image"); $showName = mysql_result($result,$i,"com_name"); $showBiz = mysql_result($result,$i,"com_biz"); $showAdd1 = mysql_result($result,$i,"com_add1"); $showAdd2 = mysql_result($result,$i,"com_add2"); $showPhn = mysql_result($result,$i,"com_phn"); $showFax = mysql_result($result,$i,"com_fax"); $showEmail = mysql_result($result,$i,"com_email"); $showSite = mysql_result($result,$i,"site_add"); $showDirec = mysql_result($result,$i,"dir_link"); PRINT "\n"; IF ($showImage != "") { PRINT "\n"; } ELSE { PRINT "\n"; } PRINT "\n\n"; $i++; ENDWHILE; PRINT "
DBA Directory >> $cat - Listings: $number

Business LocationContact Info
Business ListingNo Image Supplied$showName
$showBiz
$showAdd1
$showAdd2
"; IF ($showDirec != "") { PRINT "Directions"; } PRINT "
"; IF ($showSite != "") { PRINT "Website: $showSite
"; } ELSE { PRINT "No Web Site Listed
"; } PRINT "Phone: $showPhn
"; IF ($showFax != "") { PRINT "Fax: $showFax
"; } IF ($showEmail != "") { PRINT "Email: $showEmail"; } PRINT "
\n"; ENDIF; /* Close the database connection */ MYSQL_CLOSE(); ?>



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