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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Sat Apr 27 07:01:29 2024 UTC