RE: [PHP-DB] 2 Tables- 1 Insert Problem
| From: | olinux | Date: | Sun, 29 Jul 2001 03:25:41 +0000 |
| Subject: | RE: [PHP-DB] 2 Tables- 1 Insert Problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10870@lists.php.net to get a copy of this message | ||
Not possible.
do this $result_1 = mysql_query($sql1) or die('Insert 1 failed');
do this $result_2 = mysql_query($sql2) or die('Insert 2 failed');
olinux
-----Original Message-----
From: Steve Fitzgerald [mailto:sf@mnetsys.com]
I'm trying to insert data into two separate tables using 1 INSERT. The code
below represents a first crack at it, but I can't seem to figure out how to
get this to work properly.
Thanks.
Steve
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com