I want to pass a combo box value from url in php. I have no idea how to do it. I just try like this.
This my combo box html code.
<select id="ID1" name="place" >
<option value="Colombo" selected="selected">Colombo</option>
<option value="Matara">Matara</option>
<option value="Galle">Galle</option>
</select>
//What i want is pass selected value through URL
<div style="float:right; padding-right:1px; padding-bottom:2px;"> <a href="MyCity.php?city1= <?php echo $_GET["place"] ; ?> > Click here </a></div>
I'm bit new to php and what is wrong with this code?
im sure that 'MyCity.php' coding is correct, because i pass, hard coded value throgh above URL and could get that value from MyCity.php