Bladephp: Now with 8+ codeigniter, php, and laravel project 8+ php project From $37/Month From Rs. 2499/Month

Mysql Drop Table Query

by
Category:mysql
php mysql
Mysql Drop Table Query

The DROP TABLE statement is used to drop an existing table in a database.

It is very easy to drop an existing MySQL table, but you need to be very careful while deleting any existing table because the data lost will not be recovered after deleting a table.

First you can need database connection in php

Code

$sql = "DROP TABLE users"; 
$result = mysqli_query($con,$sql);

0 Comments


Html code work in comment box


Related Post