On Mon, 2003-06-16 at 14:22, zavaboy wrote: > How do I delete a mySQL table? (Just what's in the subject)
Well, this is a MySQL question, not a PHP question, but in PHP you would do it like this: mysql_query("DROP TABLE $table_name", $dbh); Just make sure that the user PHP is running as has permission to drop tables. The MySQL manual page for DROP TABLE: http://www.mysql.com/doc/en/DROP_TABLE.html Good luck, Torben -- Torben Wilson <[EMAIL PROTECTED]> +1.604.709.0506 http://www.thebuttlesschaps.com http://www.inflatableeye.com http://www.hybrid17.com http://www.themainonmain.com -----==== Boycott Starbucks! http://www.haidabuckscafe.com ====----- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php