Displaying an image

Have got a .jpg image i’ve been try to display without any luck! Have been using:-

echo "<img src='/Home/filename.jpg'>";

Could someone help this old noob please!

You can try:
echo “<img src=”/Home/filename.jpg" />";

Check that the path is correct, the image should be called “filename.jpg” and be underneath the php file in a folder called “Home”.

Sponsor our Newsletter | Privacy Policy | Terms of Service