[PHP-DEV] Bug #1277 Updated: OCIDefineByName() causes Apache crash From: Bug Database (php-dev <email protected>)
Date: 03/30/99

ID: 1277
Updated by: thies
Reported By: pumuckel <email protected>
Status: Assigned
Bug Type: Oracle related
Assigned To: thies
Comments:

please send me a short code snippet so i can reproduce it...

in the meantime don't use definebyname but do:

.....
while (OCIFetch($stmt)) {
  $test1 = OciResult($stmt,"TEST1");
  ...
}

or:
while (OCIFetchInto($stmt,&$result,OCI_ASSOC)) {
  echo $result[ "TEST1" ];
  ....
}

this should work in all cases...

Full Bug description available at: http://ca.php.net/bugs.php3?id=1277

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>