Jump to content

Understanding PHP Classes


soma56

Recommended Posts

Let's see....

 

You add values to variables but you can declare them before assigning a value...

Loops are great - they do things until a specific criteria is met....then I exit or break out of them.

Functions are code that do specific tasks (or series of tasks) & can be called upon at any given time during a script. 

An array is like a....hotel with many different rooms - each room being a different value.

I get GET and POST...and know how to use them between pages.

Sessions can be used to pass data between pages - they help to keep track of things....

Cookies are like little signatures from your script that you can give to a users browser for any number of reasons. 

 

I guess you could say I'm starting to get it. It's only been 4 months.

 

That being said can someone give me a brief and yet simple summary of what a PHP Class is...

 

 

Link to comment
https://forums.phpfreaks.com/topic/213957-understanding-php-classes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.