mysql_drop_db

(PHP3 , PHP4 )

mysql_drop_db -- Drop (delete) a MySQL database

Description

int mysql_drop_db (string database_name [, int link_identifier])

Returns: true on success, false on failure.

mysql_drop_db() attempts to drop (remove) an entire database from the server associated with the specified link identifier.

See also: mysql_create_db(). For downward compatibility mysql_dropdb() can also be used.