Code sample - Small Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




if (var) {$path='/image/a.jpg';}else{$path='/image/b.jpg';}

?>

<div class="adThumb"><img src=" <? echo ' . $row['image'] '" ' ?>  >  </div>


""Stephen"" <therealzerocool@xxxxxxxxx> wrote in message 
news:26.75.23196.36EEFA64@xxxxxxxxxxxxxxx
> 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. 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux