You are here: Re: [PHP] Multiple inserts as a single string? « PHP « IT news, forums, messages
Re: [PHP] Multiple inserts as a single string?

Posted by Rory McKinley on 06/02/05 14:42

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация