note 83073 added to mysqli-stmt.fetch

From: Date: Thu, 08 May 2008 19:57:59 +0000
Subject: note 83073 added to mysqli-stmt.fetch
Groups: php.notes 
Request: Send a blank email to php-notes+get-139192@lists.php.net to get a copy of this message
I tried the mentioned stmt_bind_assoc() function, but somehow, very strangely it doesn't allow the values to be written in an array! In the while loop, the row is fetched correctly, but if I write $array[] = $row;, the array will be filled up with the last element of the dataset... Unfortunately I couldn't find a solution. ---- Server IP: 69.147.83.197 Probable Submitter: 91.83.1.80 ---- Manual Page -- http://www.php.net/manual/en/mysqli-stmt.fetch.php Edit -- https://master.php.net/note/edit/83073 Del: integrated -- https://master.php.net/note/delete/83073/integrated Del: useless -- https://master.php.net/note/delete/83073/useless Del: bad code -- https://master.php.net/note/delete/83073/bad+code Del: spam -- https://master.php.net/note/delete/83073/spam Del: non-english -- https://master.php.net/note/delete/83073/non-english Del: in docs -- https://master.php.net/note/delete/83073/in+docs Del: other reasons-- https://master.php.net/note/delete/83073 Reject -- https://master.php.net/note/reject/83073 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#139192) next »