[PHP] Pear DB class not PHP5 strict compatible?

2005-03-07 Thread Richard Davey
Hi, Having heard good things about the PEAR DB package I wanted to try it out on a new project. I'm using PHP 5.0.3, ran the go-pear and installed the latest version but upon including it in my script it brings up rafts of errors such as: Strict Standards: Assigning the return value

[PHP] PEAR DB class

2002-02-14 Thread Gary
Hi all, Before I get started and have to figure out a problem. Is it legal in PEAR DB to connect like this $dbh = DB::connect(mysql://$user:$pass@$host/$dname); where user, password, host and database names are coming from an include? TIA Gary -- PHP General Mailing List

RE: [PHP] PEAR DB class

2002-02-14 Thread Matthew Walker
Sure is legal. I use it all /over/ the place. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: [PHP] PEAR DB class Hi all, Before I get