PHP: mysql_query()
| From: | lallous | Date: | Tue, 14 Aug 2001 09:59:16 +0000 |
| Subject: | PHP: mysql_query() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62597@lists.php.net to get a copy of this message | ||
Actually the mysql_query() seems to accept only one statement at a time.
Any work around so i can do query suchs:
mysql_query("
SELECT 1+1;
SHOW DATABASES;
USE database1;
SELECT * FROM table1;
");
Just multiple commands seperated with ';' ? (as if using the Mysql command
prompt)