Doc #66916 [Opn->Ver]: mysqli::query: Include hint that only one statement is allowed

From: Date: Tue, 20 Jul 2021 10:47:24 +0000
Subject: Doc #66916 [Opn->Ver]: mysqli::query: Include hint that only one statement is allowed
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18975@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66916&edit=1

 ID:                 66916
 Updated by:         cmb@php.net
 Reported by:        thomas at landauer dot at
 Summary:            mysqli::query: Include hint that only one statement
                     is allowed
-Status:             Open
+Status:             Verified
 Type:               Documentation Problem
 Package:            MySQLi related
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Right.  For multi-queries you need mysqli_multi_query().


Previous Comments:
------------------------------------------------------------------------
[2014-03-17 11:26:13] 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)__





------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=66916&edit=1


Thread (3 messages)

« previous php.doc.bugs (#18975) next »