Hi,
I have two drop down boxes, the first one i am able to fill from my database using the following code.
$query = "Select * from countries;";
$result1 = mysql_query($query);
if (mysql_num_rows($result1) > 0)
{
while ($myrow1 = mysql_fetch_array($result1))
{
echo "<option value='$i' $selected>$myrow1[1]</option>";
}
}
I want to load the second one, depending on what is selected in the first, is this possible?
thanks