ok i thought i had this down, but it's not working so apparently not.
I would like to do the following
in my header.php I code
<div align="center">
<img src="../images/masthead.png" alt="mast" width="768" height="80">
</div>
in my index.php
<?php
require_once 'content/header.php';
?>
when I call index.php I only get the alt text for the image. however if I edit the header.php code to make the img link relative to index.php
(i.e.
<img src="images/masthead.png"
)
it works fine.
I was under the impression that require_once essentally ran the script called and displayed the results.
Am i wrong, or could this be a server config issue, or something like that?
thanks in advance.
chris