Reference Guide

Adobe Acrobat PDF Lampshade 1.2 Reference (PDF)

database.inc.php - Database Functions

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)

Copyright © 2001-2010 Think Computer Corporation. All Rights Reserved. Patent pending.

Authors of the impossible.™
Think