\n"; while ($row = oci_fetch_array($stid, OCI_ASSOC+OCI_RETURN_NULLS)) { echo "\n"; foreach ($row as $item) { echo " " . ($item !== null ? htmlentities($item, ENT_QUOTES) : "") . "\n"; } echo "\n"; } echo "\n"; ?>