multiple SQL commands using mysql_query in php
| From: | neil | Date: | Sat, 07 Aug 2004 02:58:49 +0000 |
| Subject: | multiple SQL commands using mysql_query in php | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-24357@lists.php.net to get a copy of this message | ||
I am in an early stage learning PHP and MySQL so I can convert my .asp /
MSSQL sites over.
In asp/MSSQL I can open a recordset with a sqlquery with multiple commands
in it.
eg. insert into table1 (test) 'blah' insert into table1 (test2) 'blah2'
insert into table2 (test) 'blah'
I can't see how I can do that with mysql_query in PHP with mysql
Thanks
Neil