Forum Moderators: coopster
I've been trying to figure out how to run multiple MySQL queries with one database call. In phpMyAdmin, I can seperate sever queires with a ";", but mysql_query() doesn't seem to support this. (I get an error when trying to do it).
mysql_query("SELECT blah FROM tbl1; SELECT this FROM tbl2 WHERE x = '2'; INSERT INTO tbl1 VALUES (NULL,something)");
Any tips on how I can accomplish this would be great!
Thanks!
Erik
Large inserts and updates [webmasterworld.com]