note 27851 added to function.ocifetchinto

From: Date: Sat, 21 Dec 2002 03:44:38 +0000
Subject: note 27851 added to function.ocifetchinto
Groups: php.notes 
Request: Send a blank email to php-notes+get-41168@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[][]" -- http://www.php.net/manual/en/function.ocifetchinto.php http://master.php.net/manage/user-notes.php?action=edit+27851 http://master.php.net/manage/user-notes.php?action=delete+27851 http://master.php.net/manage/user-notes.php?action=reject+27851

« previous php.notes (#41168) next »