> I want to asssign an image to a variable and show it if certain conditions > are met. E.g > > > If condition is met > > { > $myimage= retrieve image (images/myimage.jpg) > echo $myimage > } > > Have not used image creation before with php just dipping my toe in the > water. Not sure you need to use image creation now. All you seem to really want to do is display an <IMG tag, or not, based on the if. if (...){ echo "<img src=images/myimage.jpg>"; } -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php