i have two seelct boxes in one row as below
[HTML]</form>
<table>
<tr><td>
<select name="countryco de" id="countrycode " onchange="showc ountrycode
(this.value);">
<option selected>select country</option>
</select>
<p>ths option are fille dhere fromt eh mysql table using query</p>
</td>
<td>
<select name="citycode" id="citycode" onchange="showc ity(this.value) ;">
<option selected>select city</option>
</select>
</td>
</tr>
</table>
</form>[/HTML]
i have seen some examples using ajax but the options are defines there i want to use $countrycode to fetch cities from the city mysql table
Thanks
[HTML]</form>
<table>
<tr><td>
<select name="countryco de" id="countrycode " onchange="showc ountrycode
(this.value);">
<option selected>select country</option>
</select>
<p>ths option are fille dhere fromt eh mysql table using query</p>
</td>
<td>
<select name="citycode" id="citycode" onchange="showc ity(this.value) ;">
<option selected>select city</option>
</select>
</td>
</tr>
</table>
</form>[/HTML]
i have seen some examples using ajax but the options are defines there i want to use $countrycode to fetch cities from the city mysql table
Thanks
Comment