Re: Is this a valid insert

From: Date: Fri, 08 Sep 2000 20:40:48 +0000
Subject: Re: Is this a valid insert
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2751@lists.php.net to get a copy of this message
AFAIK, MySQL doesn't support multiple inserts into tables. others may correct me. I have always issued two seperate queries to insert into each table. if the query failed on one of the two inserts I am not sure you would be able to tell which one. having two queries allows you to echo the error for each one when troubleshooting problems. I have used two queries when encountering this in the past. others more knowledgable may have more input though. cheers, /frank On Fri, 8 Sep 2000, Mike Hammonds wrote: > Date: Fri, 08 Sep 2000 16:33:35 -0400 > From: Mike Hammonds <mhammonds@knowledgeinenergy.com> > To: frank@kyk.als.orst.edu, php-db@lists.php.net > Subject: Re: [PHP-DB] Is this a valid insert > > ** Reply Requested When Convenient ** > > ok my mistake but how do I update 2 tables at the same time? >

« previous php.db (#2751) next »