|
connect
Required Parameters: array $database
Optional Parameters: None
Returns: bool
Description: This function is a wrapper around the PHP mysql_connect() and mysql_select_db() functions. It takes a single array as an argument which provides all of the information necessary to establish a connection to the database. The $database array should have three associative cells: "username", "password" and "name".
function connect($database)
|