Code sample - Small Help
| From: | Mark Abrams | Date: | Wed, 01 Aug 2007 14:07:58 +0000 |
| Subject: | Code sample - Small Help | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28308@lists.php.net to get a copy of this message | ||
if (var) {$path='/image/a.jpg';}else{$path='/image/b.jpg';}
?>
<div class="adThumb"><img src=" <? echo ' . $row['image']
'" ' ?> > </div>
""Stephen"" <therealzerocool@gmail.com> wrote in message
news:26.75.23196.36EEFA64@pb1.pair.com...
> I'm kind of trying to do this quickly. Can anyone give me some PHP code
> that will let me link to a different image if $veriable = blah blah blah.
> I need it for 4 different options.