On Monday, June 10, 2002, at 12:17 PM, Jay wrote:
> I was wondering can I create a new Object inside of a different class? > > class One > { > //constructor > function One > { > $this->two = new Two; > $this->test = $this->two->test(); > } > } > > Can you do that? If so is that how you do it? Exactly. ---- Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php