Need help with drop down menu

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 include("header.php"); ?>
    <td bgcolor="#000000" width=236 align="right" style="border-right: 1px solid #FFFFFF;" nowrap><font 



    <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>South Africa</option>
          <option>United Kingdom</option>
          <option>United States</option>
        </select><br><span id="dropdown"></span>

    <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>
<?php include("footer.php"); ?>


MOD EDIT: Added PHP bb code tags and Set spacing on OPTION fields

Thanks Again

So what’s your question? More importantly what is the PHP question? I suspect that you are inquiring about issues with the JAVASCRIPT but this site is for PHP help (hence the name

Lol, I think you’re right…the portion I’m talking about is Java:

Select a country... Australia Belgium Canada France Netherlands South Africa United Kingdom United States
-------------------------------------------------------------------------------------j Could anyone help with this? I need the options to be links to other modes.

Unfortunately, as Paul mentioned, this is a PHP forum.

Can I suggest you try the following forum at Webmaster World?

Sponsor our Newsletter | Privacy Policy | Terms of Service