to display a picture in the "images" folder located in main base from another folder "news", i use this code:
while the head.php in the main base contains:
i get the output as http://127.0.0.1/news/images/mypicture.jpg
how doi set it right so that it displays the correct url and that is: http://127.0.0.1/images/mypicture.jpg
its killing me, i just cant figure out!!!
| Code: |
|
<?php include("../head.php"); ?> |
while the head.php in the main base contains:
| Code: |
|
<img src="images/mypicture.jpg"> |
i get the output as http://127.0.0.1/news/images/mypicture.jpg
how doi set it right so that it displays the correct url and that is: http://127.0.0.1/images/mypicture.jpg
its killing me, i just cant figure out!!!
