why can't i delete a table from phpmyadmin code example

Example 1: drop table phpmyadmin

in phpmyadmin : click on the table > operations > drop table
in php => https://www.tutorialspoint.com/mysql/mysql-drop-tables.htm

Example 2: phpmyadmin delete all tables

WARNING!  Dropping tables in your database permanently deletes the table and all the data stored in that table.  Make sure that none of your applications or websites rely on information contained in the table(s) you are deleting.

Begin by accessing phpMyAdmin via cPanel or Plesk.

    1. Select the database you wish to work with (from the list of databases on the left column when on the phpMyAdmin home page).
    2. A list of tables will appear in the left column and in the wider right column.
    3. Check the table(s) you wish to drop (permanently delete).
    4. In the drop down box that initially says “With selected:” select “Drop” from this list.
    5. It will ask you if you really want to drop the table(s).  Check to make sure you selected the tables you really want to delete.
    6. Click on Yes to drop (delete) the table.

At this point, the table has been dropped from the database, including everything that used to be in it.

Tags:

Php Example