If statements and images
| From: | Mike Tuller | Date: | Wed, 15 Nov 2000 05:33:22 +0000 |
| Subject: | If statements and images | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25363@lists.php.net to get a copy of this message | ||
I've been wanting to display the day of the week as an image within Flash,
and the only examples I can find of if statements deal with strings. How can
I set the variable to display an image?
Example:
if(date("D") == "Mon")
{
echo ("Monday");
I want it to display Monday.png rather than "Monday". Do I still use echo or
print?
Mike