[PHP-DB] Call two class object failed

2010-05-23 Thread win.a
Hi my friend,i wrote two classed on is user,the other is db .The user have a property which from the db class object . When i writing my application have both class object invoked at the same time ,just like $user_a = new user($para); $db_a = new db() Then the problem occurs only one of the

Re: [PHP-DB] Call two class object failed

2010-05-23 Thread Chris
On 24/05/10 11:55, win.a wrote: Hi my friend,i wrote two classed on is user,the other is db .The user have a property which from the db class object . When i writing my application have both class object invoked at the same time ,just like $user_a = new user($para); $db_a = new db() Then the