#40167 [Opn->Fbk]: mysql_query: include a notice that only 1 command can be sent at a time

From: Date: Fri, 19 Jan 2007 15:07:34 +0000
Subject: #40167 [Opn->Fbk]: mysql_query: include a notice that only 1 command can be sent at a time
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374899@lists.php.net to get a copy of this message
ID: 40167 Updated by: bjori@php.net Reported By: burg1 at gmx dot net -Status: Open +Status: Feedback Bug Type: Documentation problem PHP Version: Irrelevant New Comment: Where does it imply that you can run multiple queries at once in our docs? And FYI: AFAIK only MySQL 3.x disliked it, but MySQL 4.1+ allows it. Previous Comments: ------------------------------------------------------------------------ [2007-01-19 14:28:57] burg1 at gmx dot net Description: ------------ As far as I can see, the following command is not possible: mysql_query("INSERT INTO (name) VALUES ('Lucy'); INSERT INTO (ids) VALUES (1);"); My suggestion: Please include a notice to the mysql_query-function that only one MySQL-command can be sent at a time. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40167&edit=1

« previous php.doc (#969374899) next »