Drop table from a database

admin

Administrator
Staff member
Hey there; i need some help dropping a table from a database. I use the following line after connecting to mysql and selecting the database, but it gives me a parse error. Any help would be appreciated.

drop table $table_name;

Thanks in advance.
 
Back
Top