Can anyone tell me how to use an object within an object. Example
class blah { var $test; var $test2; function test() { $this->do(); } } then you want to use that class in a new one. class blah2 { var $test; var $test2; function do() { $blah = new blah(); } } What I want to do is run some mysql queries(mysql class) in a class I made. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php