PHP includes are a vital aspect of websites and should be incorporated into every Web Developer’s workflow. Code via Chris Coyier and the CSS Tricks website Main reason for using a PHP include: All code for a specific function is under 1 roof. If you need to make a change you change it in 1 spot instead of going to each and every individual page When using and creating includes the files need to have the php extension on the file. Index.html turns into index.php Popular includes to create: Footer.php Header.php Navigation.php Other examples: Meta data/ stylesheets/ head information Social…
The post PHP Includes – Talking HTML appeared first on Schaffen Creative.