Re: [PHP] If statements and images From: Ignacio Vazquez-Abrams (ignacio <email protected>)
Date: 11/15/00

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

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>