Is this a valid insert

From: Date: Fri, 08 Sep 2000 20:19:17 +0000
Subject: Is this a valid insert
Groups: php.db 
Request: Send a blank email to php-db+get-2748@lists.php.net to get a copy of this message
** Reply Requested When Convenient ** I am trying to update two tables at the same time that are in the same database is this the right way to do this? $query = "INSERT INTO person VALUES('$firstname','$lastname','$middlename','$birthday',NULL,'$email','$photo')"; "INSERT INTO company VALUES('$name','$city','$state','$zip','$address','$phone','$url')"; $result = MYSQL_QUERY($query); Mike Hammonds, CNE5, MCP-NT Fellon-McCord & Associates, Inc. Office: 502.426.4500 Ext. - 7389 Fax: 502.426.8800 mhammonds@knowledgeinenergy.com

BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Mike Hammonds TEL;WORK:x7389 ORG:;IS TEL;PREF;FAX:426-8800 EMAIL;WORK;PREF;NGW:Mike.Hammonds@knowledgeinenergy.com N:Hammonds;Mike TITLE:IS MAnager X-GWUSERID:mhammonds END:VCARD
« previous php.db (#2748) next »