faqts : Computers : Programming : Languages : PHP : Database Backed Sites : General

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 15 people (53%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

How do I create a database on the "FLY"?

Aug 22nd, 2001 23:17
Nate Sanden, Steven A., Ben Udall, www.php.net


Simple. use the built in "msql_create_db" function.
(From php.net)
int msql_create_db (string database name [, int link_identifier])
msql_create_db() attempts to create a new database on the server 
associated with the specified link identifier.