Re: [PHP-DB] phpMyAdmin: delete table

2001-08-03 Thread Tom Carter
> Don't know about phpAdmin, but in straight PHP, after you've connected to > database, etc. > > $sql = "drop table tablename"; > $result = mysql_query( $sql ); Do yuo use PHP anyway? the comment on that was probably it. Otherwise, if you ahve command line access to mysql then the above SQL (DRO

Re: [PHP-DB] phpMyAdmin: delete table

2001-08-03 Thread Joris Kluivers
Hi I think you don't have php running on your machine. you need php in order to use php myadmin. Joris - Original Message - From: "thomas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 03, 2001 3:30 PM Subject: [PHP-DB] phpMyAdmin: dele

Re: [PHP-DB] phpMyAdmin: delete table

2001-08-03 Thread Miles Thompson
Don't know about phpAdmin, but in straight PHP, after you've connected to database, etc. $sql = "drop table tablename"; $result = mysql_query( $sql ); if you want to test for the table before deleting use $sql = "drop table if exist tablename"; HTH - Miles At 03:30 PM 8/3/01 +0200, thomas wr