php-db | 2001072
Date: 07/28/01
- Next message: olinux: "[PHP-DB] Checking radio buttons for multiple records/Updating multiple records..."
- Previous message: JD Daniels: "RE: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?"
- In reply to: Steve Fitzgerald: "[PHP-DB] 2 Tables- 1 Insert Problem"
- Next in thread: Doug Semig: "RE: [PHP-DB] 2 Tables- 1 Insert Problem"
- Reply: Doug Semig: "RE: [PHP-DB] 2 Tables- 1 Insert Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>]
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 <email protected> address at http://mail.yahoo.com
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: olinux: "[PHP-DB] Checking radio buttons for multiple records/Updating multiple records..."
- Previous message: JD Daniels: "RE: [PHP-DB] 'htaccess" method : how to modify passwords from PHP scripts ?"
- In reply to: Steve Fitzgerald: "[PHP-DB] 2 Tables- 1 Insert Problem"
- Next in thread: Doug Semig: "RE: [PHP-DB] 2 Tables- 1 Insert Problem"
- Reply: Doug Semig: "RE: [PHP-DB] 2 Tables- 1 Insert Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

