How to delete a table in mysql using PHP?

To drop a mysql table using php, use the following code:

$drop_table=mysql_query("DROP TABLE table_name");

table_name is the name of the table you want to delete.





Show Form
No comments yet. Be the first to add a comment!