I would like to use an include for my header and navigation, and
because subsequent files may be in different directories, I want to
use a dynamic relative link for the images, sort of like:
<img src="<? $root ?>/images/foo.gif" />
I suppose the easiest thing to do is just use absolute links, but
is there a way to set this up so I can PHP instead?
TIA
Ian
--
because subsequent files may be in different directories, I want to
use a dynamic relative link for the images, sort of like:
<img src="<? $root ?>/images/foo.gif" />
I suppose the easiest thing to do is just use absolute links, but
is there a way to set this up so I can PHP instead?
TIA
Ian
--
Comment