[Phplib-users] Problem with database class
Brought to you by:
nhruby,
richardarcher
|
From: Hugo M. <hj...@ho...> - 2003-06-27 16:51:57
|
Hi.
I' had a strange problem with this example.
$db_m->query("insert into magazine_user(magazine_user_user_id) values
('$user_id'");
jc_call->Create_Project($project_name);
$db_m->query("insert into magazine_user(magazine_user_user_id) values
('$user_id'2");
in the Create_project i have another $db defined that points to another
database, different from the $db_m.
When i run the second query, gives me error, because now $db_m points to
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
|