hi everyone
i need help in my query which is that:
1.which country name i selected from my dropdown list
2.when i select any country_name its show more info in new page.php like (this selected name show more information about country_name e.g. its captical, and cities through database in new page)
and here is my code:
<tr> <td>Country Name</td> <td> <select name="name"> <?php
$conn = oci_connect("username", "pswrd", "db");
$sql = 'SELECT name FROM country';
$stid = oci_parse($conn, $sql);
$success = oci_execute($stid);
while ($row = oci_fetch_array($stid, OCI_RETURN_NULLS+OCI_ASSOC))
{
echo "<option value=\"countryname1\">" . $row['NAME'] . "</option>";
}
?>