Hello there,
I am an absolute beginner in php world, trying to self study
I would like to populate an image however it only gives broken square in the browser, my images are stored in the same folder, i am using this script
(when i use html, image is displayed)
<?PHP
$kitten_image = 0;
$church_image = 1;
if ($kitten_image == 1)
{
print ("<IMG SRC =images/kitten.jpg>");
}
else {
print ("<IMG SRC =images/church.jpg>");
}
?>
i appreciate your help.
Many thanks.😕