note 36556 deleted from function.ocifetchinto by didou

From: Date: Thu, 16 Oct 2003 21:32:40 +0000
Subject: note 36556 deleted from function.ocifetchinto by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58723@lists.php.net to get a copy of this message
Note Submitter: egypt@nospam.nmt.edu ---- ocifetchinto seems to return the number of columns that come back from the sql, or (bool)FALSE if no rows are returned. <?php $stmnt = ociparse($conn, "SELECT empno, ename FROM emp"); $val = ocifetchinto($stmnt, $result, OCI_ASSOC); print "val is: '" . $val . "'"; ?> output: val is: '2'

« previous php.notes (#58723) next »