Re: Multiple inserts as a single string?
| From: | Rory McKinley | Date: | Thu, 02 Jun 2005 11:42:19 +0000 |
| Subject: | Re: Multiple inserts as a single string? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216221@lists.php.net to get a copy of this message | ||
Richard Davey wrote:
<snip>
>
> Sure.. mysql_query doesn't support more than one query in the sql
> statement.
>
<snip>
At the risk of being thick, does the OP not mean something like this:
INSERT INTO blah VALUES (value1, value2), (value3, value4)
versus
INSERT INTO blah
VALUES (value1, value2)
.... next iteration
INSERT INTO blah
VALUES (value3, value4)
Regards
Rory