ID: 48319 Updated by: [email protected] Reported By: kustomjs at gmail dot com -Status: Open +Status: Bogus Bug Type: MySQLi related Operating System: Ubuntu 9.04 PHP Version: 5.2.9 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2009-05-18 19:31:33] kustomjs at gmail dot com Description: ------------ I am getting these errors: Fatal error: Call to a member function bind_param() on a non-object in /var/www/index.php on line 92 Fatal error: Call to a member function execute() on a non-object in /var/www/index.php on line 122 Reproduce code: --------------- with this code: default : // list operation $stmt = $db->prepare('SELECT id, email, quota FROM users'); $stmt->execute(); $stmt->bind_result($id, $email, $quota); // not good for large datasets $results = array(); while ($stmt->fetch()) { $results[] = array('id' => $id, 'email' => $email, 'quota' => $quota); } $stmt->close(); include WORKING_DIR.'/list.inc.php'; } $db->close(); Expected result: ---------------- I would like to get the page to work like this: http://white-box.us/manage/index.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48319&edit=1
