R: [Phplib-users] Problem with database class
Brought to you by:
nhruby,
richardarcher
|
From: Gaetano G. <giu...@se...> - 2003-06-27 18:36:06
|
Maybe just using a different variable fr the 2 db connections would be =
enough?
Gaetano
> -----Messaggio originale-----
> Da: php...@li...
> [mailto:php...@li...]Per conto di Hugo
> Morganho
> Inviato: venerdi 27 giugno 2003 18:59
> A: php...@li...
> Oggetto: [Phplib-users] Problem with database class
> Priorita: Alta
>=20
>=20
> Hi.
> I' had a strange problem with this example.
>=20
> $db_m->query("insert into magazine_user(magazine_user_user_id) values=20
> ('$user_id'");
> jc_call->Create_Project($project_name);
> $db_m->query("insert into magazine_user(magazine_user_user_id) values=20
> ('$user_id'2");
>=20
>=20
> in the Create_project i have another $db defined that points=20
> to another=20
> database, different from the $db_m.
> When i run the second query, gives me error, because now=20
> $db_m points to=20
> the database defined at create_project, and gives me one error.
> Anyone knows how does this occur? what can i do to solve this problem?
> Thanks
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU=20
> Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly=20
> Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Phplib-users mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phplib-users
|