Doc #66916 [Opn->Ver]: mysqli::query: Include hint that only one statement is allowed
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)