PHP Include function

Utilizing this function enables one to store commonly used html (text) snippets in a seperate file. When the page is generated by the server, this line will be replaced by the contents of “example.php”

<?php include (TEMPLATEPATH . ‘/example.php’); ?>

Leave a Reply

Your email address will not be published. Required fields are marked *