okay, well i just created a few new directories for my layouts(linkware)and im trying to link to the images and pages from my root directory into the pages in my new directories.
For example:
one directory is "divs" and the page im trying to create inside of it is called "divlayers.php". Im trying to make it have the same layout as the pages in my root directory have. I use the php include code to include the header and footer(layout codes)codes into the pages but i can't figure out how to link to images and pages in other directories.
like for images ive tried this:
(Example)
("/image.gif")
and
("root/image..gif")
and
("root/divs/image.gif")
and for links:
(Example)
<?php include('root/header.php'); ?>(for the header and footer)
or
<?php include('/header.php'); ?>
or
<a href="root/divs/divlayers.php">۞ Div - Layers</a><br>
or
<a href="/divs/divlayers.php">۞ Div - Layers</a><br>
it never works.....please tell me what im doing wrong and what i can do to fix it.
For example:
one directory is "divs" and the page im trying to create inside of it is called "divlayers.php". Im trying to make it have the same layout as the pages in my root directory have. I use the php include code to include the header and footer(layout codes)codes into the pages but i can't figure out how to link to images and pages in other directories.
like for images ive tried this:
(Example)
("/image.gif")
and
("root/image..gif")
and
("root/divs/image.gif")
and for links:
(Example)
<?php include('root/header.php'); ?>(for the header and footer)
or
<?php include('/header.php'); ?>
or
<a href="root/divs/divlayers.php">۞ Div - Layers</a><br>
or
<a href="/divs/divlayers.php">۞ Div - Layers</a><br>
it never works.....please tell me what im doing wrong and what i can do to fix it.