Well this is what i understand so far..
Classes are objects..
so each object within a function has a specific requirement in what they need to do..
So an example is to get a date. Like my first one.
We have the to first make the var $today from there we can make $tomorrow or whatever
then theres the objects that do what we want.. So far mine only has today's date.. Exact time. Time place..
Well to have a look at what i did..
class mdate
{
var $today;
function dates()
{
$this->today=date("l dS F, Y h:i:sa O T");
echo $this->today;
}
}
$class = new mdate($today);
echo $class->dates();
?>
Most of that i barely understand very well..