|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: thomas at landauer dot at
New email:
PHP Version: OS:


 [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-2023 The PHP Group
All rights reserved.
Last updated: Fri Mar 31 13:03:39 2023 UTC