I'm getting an empty drop down list while trying to populate it with values from an Oracle 10G website.
The drop down list appears, but there are no values inside of it. I also have error reporting on, but am not getting any errors.
Can anyone point out my error?
<tr>
<td>Unit List</td>
<td>
<select name="unit">
<?php
$conn = oci_connect("user", "password", "db");
$sql = 'select ORGANIZATION_NAME from organization@something';
$stid = oci_parse($conn, $sql);
while ($row = oci_fetch_array($stid, OCI_RETURN_NULLS+OCI_ASSOC))
{
echo "<option value=\"unit1\">" . $row['ORGANIZATION_NAME'] . "</option>";
}
?>
</select>
</td>
</tr>