pretty new to PHP as well, I am trying to have a php load a file dynamically depending an ID that added to the page. The idea is to have one file for multiple pages... I have multiple pages loading different sidebars:
<?php
if ($PageType == 'about'){
echo "
<img src='http://ift.tt/1lULRDG' alt='' title='' class='img' />
include('../include-images.html');
<a href='#'><img src='http://ift.tt/1TogOLx' alt='' title='' class='img' /></a>
<br class='brclear'/>
";
}
Any help how to run that INCLUDE('../include-images.html');
inside <?php if echo ""
?
Aucun commentaire:
Enregistrer un commentaire