I have this strange problem.
1. I have one file in a sub directory which has code for displaying images - images are stored in main directory .
2. Now the reference to that image is retrieved from MySQL database table row[image].
here is the code i am using to display that image in outer directory:
echo " Image ".$row['image'];
This code is unable to display image which is located in the Main directory.
If it is notfrom database, i would have used a '/' before the url to get the image displayed.
What should i do here to display the image.Any help is appreciated.