I'm trying to echo out an image in a PHP function using 'img src', but I can't get it to work. The function itself works fine, everything else that I return or echo is working.
The image is located 1 folder 'back / up', then into the folder 'images' and the name of the image I'd like to acces in the 'images' folder is 'nike1.jpg'.
The following code isn't working:
echo '<img src="../images/nike1.jpg">';
No idea what I'm doing wrong here. Thanks in advance!
back / uprefers to the parent directory.