Array help
| From: | Robb Kerr | Date: | Fri, 23 Jul 2004 21:02:06 +0000 |
| Subject: | Array help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-191690@lists.php.net to get a copy of this message | ||
I've got a field in my database that contains a single numerical character
("1" or "2" or "3", etc.). I need to load a different background image
in
one cell of a table depending upon what the number the field contains.
What's the easy syntax for associating entries in the field ("1" or "2" or
"3", etc.) with image filenames ("bkgrnd-default.gif" or
"bkgrnd-positive.gif" or "bkgrnd-negative.gif", etc.)
Thanx,
Robb
--
Robb Kerr
Digital IGUANA
Helping Digital Artists Achieve their Dreams
----------------------------------------------------
http://www.digitaliguana.com
http://www.cancerreallysucks.org