[PHP-WIN] Class question

2003-11-29 Thread Alex
Hello ALL! I tried to make a class in another class something like: parent->var1; } } class B{ function b(){ $this->var1="Class B"; $this->var2=new A(); } } $c=new b(); ?> In this script I use class A inside class B and I want to use variable from B inside A. I wanted: Hello fro

[PHP-WIN] Class question

2002-06-24 Thread Alberto. Sartori
Hi guys. I got a little problem. I created a simply class: $istance=new MyClass(); $istance->Think("hi"); The method "think" must return a variable and the user can handle it. How can I do this? Thanks in advance,Alb -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: h