tim0fee wrote:Wow thanks ... but the code doesn't work for me - just a blank page!
Tim, you have to rename the images to use ones that you actually have on your server. For example, in this code snippet:
$image1 = "about1.gif";
$image2 = "about2.gif";
$image3 = "about3.gif";
about1.gif, about2.gif, about3.gif, etc... have to be replaced with actual image names that you want to use on your "about" page. And so on for the other images.
Also, when echoing the image, you have to make sure that the image path is correct. For the following code snippet, the image is in the same directory as the file, "foo.php":
<img src="<?php echo $image1; ?>" alt="image" name="image" id="image" />
Otherwise, you will have to change the image source path... It should work. I have tested it...
Maybe you already knew all that and it still doesn't work for you. Oh well. Half the fun of PHP is learning and trying and discovering for oneself...