<?
$query = “select * from customer_type”;
$stid = oci_parse($conn, $query);
$r = oci_execute($stid);
// Fetch the results in an associative array
print ‘
‘; while ($row = oci_fetch_array($stid, OCI_RETURN_NULLS+OCI_ASSOC)) { print ”; foreach ($row as $item) { print ”;
}
print ”;
}
print ‘
‘.($item).’ |
‘;
// Close the Oracle connection
oci_close($conn);
?>