PHP uses mysql_query function to delete an existing MySQL table. This function takes two parameters and returns TRUE on success or FALSE on failure. Its syntax is as follows −
bool mysql_query( sql, connection );
Followings are the parameters used in this function −
|S. No.||Parameter & Description|
Required - SQL query to delete an existing MySQL table
Optional - if not specified, then the last opened connection by mysql_connect will be used.