Re: parameters not working under PDO
| From: | Chris Curvey | Date: | Thu, 01 Nov 2007 15:31:47 +0000 |
| Subject: | Re: parameters not working under PDO | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-44286@lists.php.net to get a copy of this message | ||
Ah, but the *contents* of the array are not what I thought they were...there was a leading space in "nj". Which brings me to something I've been wondering...is there a way to get the statement object to tell me EXACTLY what was sent to the database engine?
Chris Curvey wrote:
good thing to check...it seems to be OK. Array ( [0] => montclair [1] => nj ) Michael Preslar wrote:Check $parts.. print_r($parts) and make sure its 1) an array 2) contains 2 values