When I normally write classes and then use them, I'd use this:
$site = new Site(); $site->load('header');
But I've seen people do this:
$site = new Site(); $site->load->header();
How do they do it? Confused
Are you able to help answer this sponsored question?
Questions asked by members who have earned a lot of community kudos are featured in order to give back and encourage quality replies.