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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

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: Thu Oct 10 15:01:27 2024 UTC