ok, i got categories up and running, now is it possible to select an image to go with a selected category?
im sure i could hack it out but what i wanna know is can i enter say <img src=""> in a selection box or do i haveto use php somehow like:
if $cat = blah then do $img?
any help will be helpful.
Jem
Mar 22 2007, 10:58 AM
If you've already got categories sorted, why not just name the images the same as your categories and then do <img src="<?php echo $category; ?>.gif" alt="" /> ? That's the simplest way IMO.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.