Re: If statements and images
| From: | Ignacio Vazquez-Abrams | Date: | Wed, 15 Nov 2000 19:24:40 +0000 |
| Subject: | Re: If statements and images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25503@lists.php.net to get a copy of this message | ||
On Wed, 15 Nov 2000, Mike Tuller wrote:
> Ok, I don't think I was clear on my intensions. I want the variable in an if
> statement to be set as an image rather than text. If I use echo or print, I
> get text back. I want to have the image display.
>
> Here is what I have so far:
>
> [snip]
>
<img src="images/<?=strtolower(date("l"))?>.png">
Is that what you were looking for?
--
Ignacio Vazquez-Abrams
Vice President
OPENSERVICES CORPORATION
TEL# +1.416.632.7818
FAX# +1.800.687.6133