I want to do somethign along these lines, but I'm having a hard time figuring it out.
***Includes**
class A
{
var $Avar;
}
class B
{
$Aobj = new A();
$Aobj->Avar = "blah";
}
***Inside my .php file**
$Bobj = new B();
$Bobj->Aobj->Avar
Hope I'm clear on what I want to do. Inside of the B object, I want to create an A object. Then from my main script, I want to refer to the variable stored in A. So how do I refer to the variable which belongs to an object, which belongs to another object?
TIA!
Andy