I have a general question about developing PHP websites. I have currently been updating a website which i did not create. It was part of my job to alter slight areas etc..
I realised that the website did not have pages with full HTML and PHP, it had "MANY" include files. For example I will show you one of the pages below:-
Why is it necessary to have $site->getFooter(); and include "index-".$site->location.".stf"; when you can simply have all the code on one page?
$site = new Site();
$site->setDesc("The online social networking site for the fashion and apparel industry across the UK, join us at one of our monthly business networking evenings, parties, press evenings and master classes. Subscribe now as a full member to make the most out of your profile");
$site->setKeywords("Fashion Network, The Fashion Network, Manchester Fashion, London Fashion, Fashion London, Fashion in Manchester, Fashion in London, England, Manchester, London, Fashion, Fashion Events, Retail Recruitment, Fashion Recruitment, Shopping Guide, Fashion Directory, Galleries, Model Agencies, Model Directory, Fashion Photography, Photography Directory, Fashion Blogs, Fashion Podcasts, Fashion Seminars, Retail Seminars, Trend Master Classes, Trends Forecasting, Fashion PR, Fashion Events, Networking, Business Networking");
/* include city specific homepage */
Can some one give a detailed answer please because i have been advised that i need to start developing my websites the same way.. I dont even know what the $site-> stands for, can somebody please help..?