<html>
<head>
</head>
<body>
<center>
<h1>Local Drug Price</h1>
<br>
<?php
$country = $_GET['country'];
echo $country;
?>
<br>
<div>
<form name="location" action="index.php" method="get">
<table>
<tr>
<td>
Country
</td>
<?php
if (isset($country)) {
?>
<td>
State/Province
</td>
<?php
}
if (isset($_GET['stateprovince'])) {
?>
<td>
City
</td>
<?php
}
?>
</tr>
<tr>
<td>
<select name=country>
<option <?php if ($country = ""){ echo "selected"; }?>></option>
<option value=CAN <?php if ($country == "CAN"){ echo "selected"; }?>>Canada</option>
<option value=USA <?php if ($country == "USA"){ echo "selected"; }?>>USA</option>
</select>
</td>
<?php
if (isset($country)) {
?>
<td>
<select name=stateprovince>
</select>
</td>
<?php
}
if ($_GET['stateprovince']) {
?>
<td>
<select name=city>
</select>
</td>
<?php
}
?>
</tr>
</table>
<BR>
<input type=submit value=Submit>
</form>
</div>
</center>
</body>
</html>