( https://i.stack.imgur.com/1LPVk.png )
i mention my link where output show when i press drop-down button
then show empty fields but i have values in my sql table link ( https://i.stack.imgur.com/YEopy.png) but it does
not execute my values in drop down list..i need help...when i show error it does not dispaly any error but show empty in dropdown list..
and my PHP code is:
`
<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>";
}
?>
`