Jump to content
Web Marketing Help Forum
Sign in to follow this  
danielnixon

inheritance and classes in PHP...need help...

Recommended Posts

Hi..

 

I am fresh student and a beginner PHP programmer and I did some simple program but i think my coding system is poor because I found some of codes that are redundant. But I read some of books about the use of classes and inheritance but i get difficult to understand.

 

hope somebody could help me here...

* how to declare classes in PHP and how to use it? "I need simple example"

* what is the use of inheritance and what are the advantages of using it?

 

 

thanks....

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×