I have some html code in my php script which i'm executing through echo. Suppose i want to access an image on the server which is saved in my uploads folder from within that echo, how do i do it? I tried this
$image = $row[8] //fetching the image name from the database
echo '<div><a href = "uploads/$image"</div>' // doesn't display.
The image doesn't display. please where is my mistake?
Thanks