|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66916 mysqli::query: Include hint that only one statement is allowed
Submitted: 2014-03-17 11:26 UTC Modified: 2021-07-20 10:47 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: thomas at landauer dot at Assigned:
Status: Verified Package: MySQLi related
PHP Version: Irrelevant OS:
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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
9 + 11 = ?
Subscribe to this entry?

 [2014-03-17 11:26 UTC] thomas at landauer dot at
From manual page:

Please include this hint from mysql_query in mysqli::query too:
mysql_query() sends a __unique query (multiple queries are not supported)__


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 12:30 UTC]
-Package: Documentation problem +Package: MySQLi related
 [2021-07-20 10:47 UTC]
-Status: Open +Status: Verified
 [2021-07-20 10:47 UTC]
Right.  For multi-queries you need mysqli_multi_query().
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Sep 29 21:05:53 2022 UTC