Alain Roger schreef: > Hi, > > i have the following classes: > class A > { > public function EchoMe($txt) > { > echo $txt; > } > } > > class B extends A > { > ... > } > > in theory i can write something like that: > > $b = new B(); > $b->EchoMe("test"); > > and i should get echo "test" on screen. > am i correct ? with regard to theory, here's one of mine: in the time you wrote the email you could have run the code and found out for yourself. enjoy. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php