Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Struggling to display phots (3 replies)

$
0
0
I have a database that holds the path to the photo and also the filename, I want to display the image on the screen, try as I might I cannot get this to work. I have simplified it, but still cant get it to work. Once I have the simple version working, I can do it properly

$imgurl = "G:wamp/www/images/";
$name = "mum.jpg";
echo '<img src="'.$imgurl.$name.'" />';

My images are saved in G:wamp/www/images
My photo in this case is mum.jpg

Help I am getting balder

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>