php.net |  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
Votes:1
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thomas at landauer dot at
New email:
PHP Version: OS:

 

 [2014-03-17 11:26 UTC] thomas at landauer dot at
Description:
------------
---
From manual page: http://www.php.net/mysqli.query
---

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




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 12:30 UTC] cmb@php.net
-Package: Documentation problem +Package: MySQLi related
 [2021-07-20 10:47 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2021-07-20 10:47 UTC] cmb@php.net
Right.  For multi-queries you need mysqli_multi_query().
 [2023-04-12 07:25 UTC] vivekmittakdg at gmail dot com
Technologies Watch are sharing latest news about tech, gadgets, digital marketing, seo, smo, web development etc. More info to visit: (https://technologieswatch.com)github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 05:01:29 2024 UTC