...
0) {echo (' ');}
while($row = mysql_fetch_array($result))
{
?>
');}
else {echo(''.$row["BName"].'');}
echo(' |
'.$row["Phone"].' ');
if ($row["Email"] == ""){echo(' | ');}
else{echo('Email'); }
echo('
'.$row["Add1"].', '.$row["City"].', '.$row["State"].'
'.$row["Zip"].' |
');
}
if ($rows1 > 0) {echo (" ");}
?>
0 || $totalrows == 0) {echo ('');}
if ($totalrows == 0) {echo ("No Listings");}
while($row2 = mysql_fetch_array($result2))
{
$counter++;
if ($counter == 1){
echo("");
}
echo('
'.$row2["BName"].'
'.$row2["Add1"].' '
.$row2["City"].', '.$row2["State"].' '.$row2["Zip"].'
'.$row2["Phone"].' | ');
if ($counter == 2){
echo(" ");
$counter = 0;
}
}
if ($counter ==1){
echo (" | ");
}
if ($rows2 > 0 || $totalrows == 0) {echo (' ');}
}
} else { // if BType does not equal "all businesses"
?>
...
0) {echo (''); }
while($row = mysql_fetch_array($result))
{
?>
');}
else {echo(''.$row["BName"].'');}
echo(' |
'.$row["Phone"].' ');
if ($row["Email"] == ""){echo(' | ');}
else{echo('Email'); }
echo('
'.$row["Add1"].', '.$row["City"].', '.$row["State"].'
'.$row["Zip"].' |
');
}
if (mysql_num_rows($result) > 0) {echo (' ');}
?>
");
}
echo('
'.$row2["BName"].'
'.$row2["Add1"].' '
.$row2["City"].', '.$row2["State"].' '.$row2["Zip"].'
'.$row2["Phone"].' | ');
if ($counter == 2){
echo("");
$counter = 0;
}
}
if ($counter ==1){
echo (" | ");
}
?>
|
|