NYCPHP Meetup

[nycphp-talk] PEAR DB Error

Dan Cech dcech at phpwerx.net
Tue Apr 12 16:40:03 EDT 2005


Hey All,

I'm getting a very odd error coming from PEAR DB and wondered if any of 
you have come across it in the past.

The implode() call on line 777 in the prepare() function of common.php 
(1.7.6) is failing, and when I look at the error logs I'm seeing 
something very strange.  The $val variable is being set to an array...

If you have any ideas on this one let me know...right now I can't fathom 
the reason.

Dan


[query] => SELECT password_remind FROM CONFIG WHERE class_id=?
[tokens] => Array
(
   [0] => SELECT password_remind FROM CONFIG WHERE class_id=
   [1] => ?
   [2] =>
)

[token] => 0
[types] => Array
(
)

[newtokens] => Array
(
   [0] => Array
     (
       [0] => SELECT password_remind FROM CONFIG WHERE class_id=
       [1] => 0
     )

   [1] => Array
     (
       [0] => ?
       [1] => 1
     )

   [2] => Array
     (
       [0] =>
       [1] => 2
     )

)

[val] => Array
(
   [0] =>
   [1] => 2
)

[k] => 4



More information about the talk mailing list