$stid = oci_parse('SELECT FIRSTNAME, LASTNAME, DESIGNATION, DEPARTMENT, BRANCH FROM USERS');
while (($row = oci_fetch_array($stid, OCI_ASSOC + OCI_RETURN_NULLS
| OCI_RETURN_LOBS)) != false) {
$result[] = $row;
}
oci_fetch_array is returning only one row while there are many rows in the table.