I’ve had trouble communicating with a database so I’m running a search HTML style using several modes’s. I have a menu created with which users can select a country to search by. When the U.S. is selected another menu appears with states. I’d like the menu options (all countries and US states - note that I do not want the U.S. option to link to a mode because selecting US will open the states menu which will link to modes for each state) to link to modes.
I apologize if that was confusing. Please ask questions if any part was unclear. Thanks for your time and help.
Here is the Script:
[php]
<?php include("header.php"); ?> <tr>
<td bgcolor="#000000" width=236 align="right" style="border-right: 1px solid #FFFFFF;" nowrap><font
color="#FFFFFF">STORE SEARCH
<form name="search" method="post">
<!-- <b>For:</b> <input type="text" name="keyword" style="font-size: 9pt;"><br> -->
<select name="search_by" onChange="javascript:dropdown()" style="font-size: 9pt;">
<option>Select a country...</option>
<option>Australia</option>
<option>Belgium</option>
<option>Canada</option>
<option>France</option>
<option>Netherlands</option>
<option>South Africa</option>
<option>United Kingdom</option>
<option>United States</option>
</select><br><span id="dropdown"></span>
</form>
</td>
<td bgcolor="#CC6600" vAlign="top" style="padding-left: 5px;">
<img src="images/clear.gif" height=15><br>
<?php
{
echo 'Until the Store Search is running please email our office, office@********.com with all store related
questions.Thank You for your patience.'; } ?>
<img src="images/clear.gif" height=15><br><img src="images/clear.gif" height=15><br></td>
</tr>
<?php
include("footer.php");
?>
[/php]
MOD EDIT: Added PHP bb code tags and Set spacing on OPTION fields
Thanks Again