Ciao a tutti!

é possibile eseguire una query di più righe su un database tramite la funzione mysql_query($query)?
Io vorrei aggiungere, ad esempio, queste istruzioni ottenute grazie a phpMyAdmin (dovrebbero quindi essere corrette):

codice:
$query = "DROP TABLE IF EXISTS `coso`;
CREATE TABLE `coso` (
  `nome` varchar(50) NOT NULL default '',
  `id` int(11) NOT NULL default '0'
) TYPE=MyISAM;";
$r = mysql_query($query) or die(IMPOX_ADD.mysql_error());
Ma l'esecuzione genera errore:

You have an error in your SQL syntax.
Check the manual that corresponds to your MySQL server version for the right syntax to use near
'; CREATE TABLE `album` ( `nome` varchar(50) NOT NULL defaul

Dove sbaglio?
Esiste, altrimenti, un altro modo per poter eseguire questa query?

Grazie!

Fabbio