php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61771 Fatal error: Call to undefined method mysqli_stmt::fetchAll() in /opt/lampp/ht
Submitted: 2012-04-19 05:34 UTC Modified: 2012-04-19 06:20 UTC
From: jckhunt4 at gmail dot com Assigned:
Status: Not a bug Package: PDO related
PHP Version: 5.4.0 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 - 39 = ?
Subscribe to this entry?

 
 [2012-04-19 05:34 UTC] jckhunt4 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/pdostatement.fetchall#refsect1-pdostatement.fetchall-examples
---

Fatal error: Call to undefined method mysqli_stmt::fetchAll() in /opt/lampp/htdocs/version5/ppc_audit_datafetch.php on line 1067



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-19 06:20 UTC] aharvey@php.net
You can't execute fetchAll() on a mysqli_stmt object. PDO is not the same thing as 
mysqli.

The documentation for mysqli_stmt can be found at: http://php.net/mysqli_stmt
 [2012-04-19 06:20 UTC] aharvey@php.net
-Status: Open +Status: Not a bug -Package: Streams related +Package: PDO related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 08:01:30 2024 UTC