I was hoping that maybe someone could show me an example of how to make a form change based on a selected option in a select statement.
here is my select statement:
When the option 'General Worlds Fair' is selected... I need a second select statement to appear... If else, i need an input for year and place help to appear.<select name="fair_name">
<?php
while ($row = mysql_fetch_assoc($result_fair_name)){
$id_fair_ = $row['id_fair_'];
$fair_name = $row['fair_name'];
print "<option value=$id_fair_>$fair_name\n";
}?>
</select>
If anyone could help, that would be phenomenal!
thank you,
Wes