soma56 Posted September 21, 2010 Share Posted September 21, 2010 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 More sharing options...
mikosiko Posted September 21, 2010 Share Posted September 21, 2010 maybe worth to read... simple examples... you will get the idea http://devzone.zend.com/node/view/id/638 Link to comment https://forums.phpfreaks.com/topic/213957-understanding-php-classes/#findComment-1113528 Share on other sites More sharing options...
ignace Posted September 21, 2010 Share Posted September 21, 2010 That being said can someone give me a brief and yet simple summary of what a PHP Class is... A Class is a group of related state (variables) and behavior (functions). Link to comment https://forums.phpfreaks.com/topic/213957-understanding-php-classes/#findComment-1113589 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.