msql_drop_db

(PHP 3, PHP 4, PHP 5)

msql_drop_db -- Drop (delete) mSQL database

說明

bool msql_drop_db ( string database_name [, resource link_identifier] )

msql_drop_db() attempts to drop (remove) a database from the mSQL server.

參數

database_name

The name of the database.

link_identifier

mSQL 的連線標識符。若果沒有指定,預設使用最後被 msql_connect() 開啟的連線。若果沒有找到該連線,函數會嘗試通過呼叫 msql_connect() 建立連線並使用它。

返回值

若果成功則返回 TRUE,失敗則返回 FALSE