Store Locator

$query“;
exit;
}

$oldcity = “NONEXISTANTPLACE”;
$oldstate = ‘NOSUCHPLACE’;
while ( ($myrow = mysql_fetch_array($result)) ) {
if ($oldstate != $myrow[‘statename’]) {
$oldstate = $myrow[‘statename’];
echo ‘

Authorized Dealers in ‘ . $oldstate . ‘

‘;
}

if ($oldcity != $myrow[‘city’]) {
echo ‘

‘ . $myrow[‘city’] . ‘

‘;
$oldcity = $myrow[‘city’];
};
echo ‘

‘;

echo ‘‘ . $myrow[‘storename’] . “
“;
echo $myrow[‘addr’];
echo ‘

‘;
};
?>

$query“;
exit;
}

?>

Select your State: