FlowMeter Supply: $cat2 / $cat3
Home / Flowmeters / $cat2 / $cat3

EOT; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; $result = mysql_query("select * from listings where cat1='Flow Meters' and cat2='$cat2' and cat3='$cat3' order by name", $db); while($myrow = mysql_fetch_array($result)){ echo " \n"; echo " \n"; echo " \n"; echo " \n"; } echo "
CompanyBusiness Type 
$myrow[name]$myrow[types]
\n"; } if($_REQUEST[type] == '2'){ $cat2 = str_replace('_', ' ', $_REQUEST[cat2]); echo <<FlowMeter Supply: $cat2 / $cat3
Home / Flowmeters / $cat2 / $cat3

EOT; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; $result = mysql_query("select * from listings where cat1='Flow Meters' and cat2='$cat2' order by name", $db); while($myrow = mysql_fetch_array($result)){ echo " \n"; echo " \n"; echo " \n"; echo " \n"; } echo "
CompanyBusiness Type 
$myrow[name]$myrow[types]
\n"; } } elseif($action == 'details'){ $result = mysql_query("select * from listings where id='$_REQUEST[id]'", $db); $myrow = mysql_fetch_array($result); echo <<FlowMeter Supply: $myrow[name]
Home / Flowmeters / Profiles

$myrow[name]

$myrow[street]
$myrow[city], $myrow[state] $myrow[zip]
Phone: $myrow[phone]
Fax: $myrow[fax]
Website: $myrow[website]

Business Types: $myrow[types]
Founded in: $myrow[founded]
Market Reach: $myrow[markets]
Employees: $myrow[employees]

$myrow[desc2]

EOT; } else { echo <<Flow Meters & Associated Hardware
Home / Flowmeters

EOT; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
\n"; echo " Flow Meters
\n"; $result = mysql_query("select distinct cat3 as cat3 from listings where cat1='Flow Meters' and cat2='Meters'", $db); while($myrow = mysql_fetch_array($result)){ if($myrow[cat3] == ''){ continue; } $cat3 = str_replace(' ', '_', $myrow[cat3]); echo '   • $myrow[cat3]
\n"; } echo "
\n"; echo " Hardware
\n"; $result = mysql_query("select distinct cat2 as cat2 from listings where cat1='Flow Meters' and (cat2 != 'Meters')", $db); while($myrow = mysql_fetch_array($result)){ if($myrow[cat2] == ''){ continue; } $cat2 = str_replace(' ', '_', $myrow[cat2]); echo '   • $myrow[cat2]
\n"; } echo "
\n"; } echo "

  

\n"; include("includes/footer.php"); ?>