Query: fbsql_create_db
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FBSQL_CREATE_DB(3) 1 FBSQL_CREATE_DB(3) fbsql_create_db - Create a FrontBase databaseSYNOPSISbool fbsql_create_db (string $database_name, [resource $link_identifier], [string $database_options])DESCRIPTIONAttempts to create a new database on the specified server.PARAMETERSo $database_name - The database name, as a string. o $ link_identifier -A FrontBase link identifier returned by fbsql_connect(3) or fbsql_pconnect(3).If optional and not specified, the function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if fbsql_connect(3) was called with no arguments. o $database_options -RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 fbsql_create_db(3) example <?php $link = fbsql_pconnect("localhost", "_SYSTEM", "secret") or die("Could not connect"); if (fbsql_create_db("my_db")) { echo "Database created successfully "; } else { printf("Error creating database: %s ", fbsql_error()); } ?>SEE ALSOfbsql_drop_db(3). PHP Documentation Group FBSQL_CREATE_DB(3)
Related Man Pages |
---|
fbsql_select_db(3) - php |
fbsql_autocommit(3) - php |
fbsql_close(3) - php |
fbsql_errno(3) - php |
fbsql_read_blob(3) - php |
Similar Topics in the Unix Linux Community |
---|
UNIX linked to Windows Urgent |