|
mysql_drop_dbDrop (delete) a MySQL database Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
Description
bool mysql_drop_db
( string
$database_name
[, resource $link_identifier = NULL
] )mysql_drop_db attempts to drop (remove) an entire database from the server associated with the specified link identifier. This function is deprecated, it is preferable to use mysql_query to issue an sql DROP DATABASE statement instead. Parameters
Return Values
Returns Examples
Example #1 mysql_drop_db alternative example
<?php NotesWarning
This function will not be available if the MySQL extension was built against a MySQL 4.x client library.
See Also
|