what you are referring to is called php function include.
if same content on your site is gonna appear on many pages then you create a separate file for it and just use this code in pages, where you wanna sho it.
<?php
include(filename.php); ?>
read some books on php and html, there are loads of material online and for free too.
good luck.
|