fbsql_database_password()
fbsql_database_password - Sets or retrieves the password for a FrontBase database
Syntax
string fbsql_database_password (
resource $link_identifier,
string $database_password)
Arguments
- link_identifier - A FrontBase link identifier returned by fbsql_connect() or fbsql_pconnect(). 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() was called with no arguments.
- database_password - The database password, as a string. If given, the function sets the database password for the specified link identifier.
Description
Sets and retrieves the database password used by the connection. If a database is protected by a database password, the user must call this function before calling fbsql_select_db().
Version
PHP 4.0.6, 5
Return value
Returns the database password associated with the link identifier.