You are here: Re: HELP. Multi-Record Insert « All PHP « IT news, forums, messages
Re: HELP. Multi-Record Insert

Posted by Jim Michaels on 01/03/06 03:28

INSERT INTO `graph_apps` (`app_id`,`name`) VALUES

(1,'cities'),

(2,'statemachine'),

(3,'molecules'),

(4,'prj_mgmt');



One insert statement. Use commas. As I saw in a previous post, there is a
30-second limit probably imposd on the server, and a 1MB query limit also
probably imposed on the server. If its your own box, you can probably tweak
that out.

<Fuzzy.wonderdog@gmail.com> wrote in message
news:1134029223.255995.180960@g49g2000cwa.googlegroups.com...
> Hello,
>
> I hope some one can help me, at least give me a little direction.
>
> I have the need to insert many records into the same table at once.
> Not very many data points (<5), but many (30+) records. Not being a
> PHP guru, I am at a loss as where to start. Really I am a PHP
> neophyte. Though I am a quick study and REALLY need to know how to do
> this.
>
> Please Help!
>
> Thanks!
>

 

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

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