EOT; echo "
| Company | \n"; echo "Business Type | \n"; echo "\n"; echo " |
| $myrow[name] | \n"; echo "$myrow[types] | \n"; echo "Profile | \n"; echo "
EOT; echo "
| Company | \n"; echo "Business Type | \n"; echo "\n"; echo " |
| $myrow[name] | \n"; echo "$myrow[types] | \n"; echo "Profile | \n"; echo "
$myrow[street]
$myrow[city], $myrow[state] $myrow[zip]
Phone: $myrow[phone]
Fax: $myrow[fax]
$myrow[desc2]
| Employees: | $myrow[employees] |
| Business Types: | $myrow[types] |
| Founded in: | $myrow[founded] |
| Market Reach: | $myrow[markets] |
| Website: | $myrow[website] |
EOT;
}
else {
echo <<
Home /
Tubing
EOT; echo "
| \n";
echo " Tubing \n"; $result = mysql_query("select distinct cat3 as cat3 from listings2 where cat1='Tubing' and cat2='Tubes'", $db); while($myrow = mysql_fetch_array($result)){ if($myrow[cat3] == ''){ continue; } $cat3 = str_replace(' ', '_', $myrow[cat3]); echo ' • $myrow[cat3] \n"; } echo " | \n";
echo " \n";
echo " Hardware \n"; $result = mysql_query("select distinct cat2 as cat2 from listings2 where cat1='Tubing' and (cat2 != 'Tubes')", $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"); ?>