2008/6/6 Miguel J. Jiménez <[EMAIL PROTECTED]>:
> Hi, I want to know if I can set an array with PDO objects, thus:
>
>$foo = array(new PDO(...), new PDO(...));
>$oSt = $foo[0]->prepare(...);
>
> and so on... I tried that aproach and PHP is always complaining about
> using prepare()
Hi, I want to know if I can set an array with PDO objects, thus:
$foo = array(new PDO(...), new PDO(...));
$oSt = $foo[0]->prepare(...);
and so on... I tried that aproach and PHP is always complaining about
using prepare() in a non-object...
---
.-
2 matches
Mail list logo