AW: [PHP-DB] multiple table inserts at the same time

2002-12-07 Thread [EMAIL PROTECTED]
a own rollback function. mfg andreas van loock -Ursprüngliche Nachricht- Von: rolf vreijdenberger [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 8. Dezember 2002 00:54 An: [EMAIL PROTECTED] Betreff: [PHP-DB] multiple table inserts at the same time hi there, I have multiple tables in my

Re: [PHP-DB] multiple table inserts at the same time

2002-12-07 Thread David Smith
These two methods are nearly identical. Practically, you will probably never see a performance difference. The time it takes to perform a query is an order of magnitude greater than the time it takes to allocate space for and iterate through an array. I would imagine that you will never notice a di

[PHP-DB] multiple table inserts at the same time

2002-12-07 Thread rolf vreijdenberger
hi there, I have multiple tables in my mysql db. Users register, and after submitting there are multiple tables that need inserts. What is the best way to do this? speedwise, efficiencywise, codewise? (pseudo code) A) $sql[]='insert1'; $sql[]='insert2'; $sql[]='insert3'; foreach($sql as