Please wait while we load your page...


PHP Manual [msql_create_db]

Protect Your Website Today

PHP Manual || mSQL Functions

(PHP 4, PHP 5 < 5.3.0)

msql_create_dbCreate mSQL database


msql_create_db ( string $database_name [, resource $link_identifier ] ) : bool

msql_create_db() attempts to create a new database on the mSQL server.



The name of the mSQL database.


The mSQL connection. If not specified, the last link opened by msql_connect() is assumed. If no such link is found, the function will try to establish a link as if msql_connect() was called, and use it.

Return Values

Returns TRUE on success or FALSE on failure.

See Also

PHP Manual || mSQL Functions