DISTRIBUTORS
$Dbname = "distributors";
$Query = "SELECT name, address1, phone1, address2, phone2, address3, phone2, address4, phone4
FROM contact ORDER BY name";
$result = MYSQL($Dbname, $Query) or die("died");
//get today's date
$rightnow=((date("Ymd"))* 1000000);
while ($row=mysql_fetch_row($result)){
for ($i = 0; $i$name
";
echo "$address1
";
echo "$phone1
";
if ($address2!=''){
echo "$address2
";
echo "$phone2
";
}
if ($address3!=''){
echo "$address3
";
echo "$phone3
";
}
if ($address4!=''){
echo "$address4
";
echo "$phone4
";
}
echo "
";
}
?>
Please
check back for updated
listings for your area.