Re: Weird pdo-mysql behavior

From: Date: Fri, 14 Nov 2008 08:39:08 +0000
Subject: Re: Weird pdo-mysql behavior
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-283284@lists.php.net to get a copy of this message
I agree, add some checks in your testcase so you can track exactly what is happening and see of what type your variables are. Also, try what happens when you - switch off persistent-connections (PDO::ATTR_PERSISTENT=> false)
Tried that using both ways because I saw a similar error in another bug in PHP but still doesn't fetch the data.
- pass the object by reference (getClientFullName($id,&$dbh))
Also did that without making any difference. I am wondering if this has to do with PHP itself or with the way my distro is distributing the package.
----- http://devshed.excudo.net http://devshed.excudo.net
Thanks anyway though for the suggestions. -- Thodoris

« previous php.general (#283284) next »