Proper syntax for PEAR::DB?

From: Date: Wed, 19 May 2004 20:06:49 +0000
Subject: Proper syntax for PEAR::DB?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12625@lists.php.net to get a copy of this message
Hi - In the documentation for PEAR::DB (http://pear.php.net/manual/en/package.database.db.intro-query.php) The examples all use =& instead of = // Create a valid DB object named $db $db =& DB::connect('pgsql://usr:pw@localhost/dbnam'); // Proceed with a query... $res =& $db->query('SELECT * FROM clients'); What is the preferred syntax for DB? Why? Thanks Graham Graham Clarke GrahamC@53Tech.com www.53Tech.com 603.643.9955

« previous php.pear.general (#12625) next »