$path = '';
even shorter :)
- Aleksander
Mark Abrams wrote:
if (var) {$path='/image/a.jpg';}else{$path='/image/b.jpg';}
?>
>
""Stephen"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I'm kind of trying to do this quickly. Can anyone give me some PHP code
that will let
if (var) {$path='/image/a.jpg';}else{$path='/image/b.jpg';}
?>
>
""Stephen"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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.