Posted by Richard Lynch on 10/01/16 11:10
> 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
Navigation:
[Reply to this message]
|