for example if your UserAddress class has a toString()
I was merley using a toString function as an example as i said.
at the moment you don't have the User class extending the userAddress class. I cant remember how to do this in PHP 5, but i guess it might be the same as PHP 4.
Change the class decleration too...
class User extends userAddress{
Now every function and property (variable) in userAddress will be available to the Userclass. However, if you add more properties, you will need the set and get methods for these. You will also need a new constructor in the new class.