Re: Re: Multiple MySQL INSERT into loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-02-07 at 10:55 +0000, Colin Guthrie wrote:
> Simplest way would be to define your data in an array instead:
> 
> e.g. $data = array(1 => array('id' => x, 'entry' => y, 'name' => z), ...).
> 

And of course to tie it all into a transaction that can be rolled back
in case of problems.

--Paul

All Email originating from UWC is covered by disclaimer 
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux