Array of PDO objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...

---
.---------------------------------------------------------.
| Miguel J. Jiménez                                       |
| Sector Público, ISOTROL S.A.                            |
| mjjimenez@xxxxxxxxxxx                                   |
:---------------------------------------------------------:
| KeyID 0xFFE63EC6             hkp://pgp.rediris.es:11371 |
:---------------------------------------------------------:
| Edificio BLUENET, Avda. Isaac Newton nº3, 4ª planta.    |
| Parque Tecnológico Cartuja '93, 41092 Sevilla (ESP).    |
| Tlfn: +34 955 036 800 (ext.1805) - Fax: +34 955 036 849 |
| http://www.isotrol.com                                  |
:---------------------------------------------------------:
| UTM ED-50             X:765205.09 Y:4144614.91 Huso: 29 |
:---------------------------------------------------------:
|   "Me dijeron: 'instala Windows, se listo'; así que     |
| instalé primero Windows y luego fui listo y lo borré    |
| para instalar Linux"                                    |
'---------------------------------------------------------'

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux