|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-01-19 14:28 UTC] 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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 18:00:01 2025 UTC |
Yes - thank you!! :-) (But I have PHP 4 :-( Anyway - please include a notice to mysql_query, e.g.: "Note: Multiple queries separated by semicolons (e.g. INSERT INTO (name) VALUES ('Lucy'); INSERT INTO (ids) VALUES (1);) are only possible through mysqli_multi_query (PHP 5)."