note 50819 added to function.mysqli-bind-result

From: Date: Thu, 10 Mar 2005 18:55:47 +0000
Subject: note 50819 added to function.mysqli-bind-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-86218@lists.php.net to get a copy of this message
Has anyone been able to use bind_result($array) to work. Or better yet, use prepared statements, but retrieve a resultset object instead of binding variables. Binding a resultset's columns to individual variables is fine, but it's not very efficient with results with a large column count or when you want to pass off the results to say, a populate($array) function in a custom object. Any ideas on how to to this? ---- Manual Page -- http://www.php.net/manual/en/function.mysqli-bind-result.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50819 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50819&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50819&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50819&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50819&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50819&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50819&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86218) next »