RE: [PHP-DB] Catchable fatal error: Object of class stdClass could not be converted to string in filename on line line

2007-06-25 Thread Max Thayer
Edit: I've added usage example and a clearer explanation of the code snippet. Catchable fatal error: Object of class stdClass could not be converted to string in filename on line line * I can only find the change log for PHP 5.2

Re: [PHP-DB] Catchable fatal error: Object of class stdClass could not be converted to string in filename on line line

2007-06-25 Thread Niel Archer
Hi Seeing as no-one else has replied to this, I'll make a comment. First off let me state I don't use PDO so I am not familiar with it. It would appear to me that your problem line is NOT the problem. It is only where the error is reported from. That line is a call to an object method, so the

RE: [PHP-DB] Catchable fatal error: Object of class stdClass could not be converted to string in filename on line line

2007-06-25 Thread Max Thayer
Thank you for responding to my requests for assistance. Actually, the $dbh is the db handler object as stated in other PHP/PDO examples $this-dbh = new PDO(...), that wasn't the area of issue, however the problem NOT being the problem... was correct. The issue with the code was subsequently one

[PHP-DB] Catchable fatal error: Object of class stdClass could not be converted to string in filename on line line

2007-06-22 Thread Max Thayer
** Catchable fatal error: Object of class stdClass could not be converted to string in filename on line line