Hey everybody I want to let you know that I have undertaken the grueling task of getting the heck away from WordPress. I was so sick of the problems and updates I had to do all the time. I am now using my ezbloo system and I am integrating all my old posts into the new system. It sucks, but in the end, I will save bundles of time. I needed to keep things simple and that is why I created ezbloo. I'll have more on this later for you guys after I am done with the total integration of my old posts here. So if you are looking for a post and need it faster, shoot me an email and I will make it a priority. [email protected]

If you want to Drop a table from a database with PHP MySqli you must make sure that the table is there in the first place. If you have not done so please see Create a New Table in a MySqli Database.  To drop a table use the following code. You must make sure of the following requirements.
  1. You Created A Database
  2. You Granted Privileges to the database
  3. Created a config.php file to access the database
The following code will drop a database called "MyDb" so you will have to be sure to adjust the code to match the table that you want to drop in your database. ;-)
include('config.php');
// Create connection
$con = new mysqli($host, $username, $password, $dbname);
$con ->query("DROP TABLE myDb");
$con ->close();
If you want more detailed explanations on dropping a database see the php site.