$SQL2 = "create table tabella1 like tabella;create table tabella3 like tabella2 ";

$rx1 = mysql_db_query(database1,$SQL2,$conn);

if (!$rx || !$rx1)
{
echo "si è creato un errore durante la ceazione della tabelle temporanee
" ;
echo mysql_errno($rx) ." ". mysql_error($rx) ."
";
exit();
}

oteengo un errore..

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\...
invece se eseguo le query singolarmente non si crea errore..

come mai ?