This code pulls images from my entire website.
What I want it to do is to pull images only from this categoryCode:<?php if($row['picfile']) { ?> <img src="<?php echo "$datadir[adpics]/$row[picfile]"; ?>" <?php } else { ?> <?php } ?>My problem is I know how how to do "if catid == 12 then show images" but I don't know how to tell it to "show images only from catid == 12"Code:$row['catid'] == 12
Any help will be appreciated.



Reply With Quote
Sorry. Maybe the mod can remove it.

Bookmarks