is this right? cause its not working. first I connect, then I select my db, and then the problem $sql = "GLOBAL $company; DROP TABLE $company "; $result = @mysql_query($sql,$connection) or die("Couldn't execute query."); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]