I have a sidebar.php which contains:
<a href="page.html"><src="images/MyImage.gif"></a>
If I do:
<?php include 'sidebar.php';?>
from a file that is in '/', everything works properly (because it looks in /images for the gif).
However, if I do:
<?php include '../sidebar.php';?>
from a file in, say, '/Example', the image is not displayed.
After some searching I found that I could supposedly add a '/' to the beginning of the path:
<a href="page.html"><src="/images/MyImage.gif"></a>
but when I do this the image does not display in EITHER case.
Any thoughts?
Thanks,
David