note 36556 added to function.ocifetchinto
| From: | egypt at nospam dot nmt dot edu | Date: | Tue, 14 Oct 2003 21:23:20 +0000 |
| Subject: | note 36556 added to function.ocifetchinto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58591@lists.php.net to get a copy of this message | ||
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'
----
Manual Page -- http://www.php.net/manual/en/function.ocifetchinto.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36556
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36556&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36556&report=yes
Search -- http://master.php.net/manage/user-notes.php