note 27851 deleted from function.ocifetchinto by philip
| From: | philip@php.net | Date: | Wed, 22 Jan 2003 07:21:37 +0000 |
| Subject: | note 27851 deleted from function.ocifetchinto by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42561@lists.php.net to get a copy of this message | ||
I use ocifetchinto(), under this line
*********************************
$result = array();
$conn = ocilogon("","","");
$sql = "select * from tablename";
$cursor = ociparse($conn,$sql);
ociexecute($cursor);
$rownum=0;
while (ocifetchinto($cursor,&$result[$rownum])
$rownum++;
*********************************
Now, you can use "$result[][]"