On Saturday 26 December 2009 3:38:44 pm Allen McCabe wrote:
> Here are some code snippets:
>
> Content.class.php:
> class Page {
>
> private $db;// Contains reference to instance of the
> Database class
> private $notify;// Contains reference to instance of the
I have a Database class that I instantiate with credential information. The
connect method connects and creates a resource by the name $link_id. So if I
do this:
$db = new Database($server, $user, $password, $database);
$db->connect();
To get the resource (for use by mysql_insert_id() for example
2 matches
Mail list logo