I currently have the following html
[code]
<?=$caption;?>
and would like to be able to select one of two values using an PHP IF statment but I cannot get the code right. Can you please help? This is what I have:
[php]<?php
if ($next < $last) {
echo ’ ‘;
echo ‘
’.$caption.’
’;}
else {
echo ’
echo ‘
’.$caption.’
’;}
?>[/php]
Thanks Freddo