PHP: What's the purpose of a class?

A php class may contain useful functions that you can use to your script. You don't have to write the functions anymore as it is already in the class.
 
Back
Top