pavmoxo
05-12-2006, 10:52 AM
I have:
<p>
<a href="agend_desporto.php?modifier=-1"> Anterior </a> |
<a href="agend_desporto.php?modifier=0"> Actual </a>
<? if( ($arrl["Bmonth"] + 1) != NULL) {?>
| <a href="agend_desporto.php?modifier=1"> Seguinte </a>
<? } else { ?>
<a></a>
<? } ?>
</p>
I have problems with this code. My point is if the next month not exists in the DB in the field Bmonth the word "Seguinte" doesn't appear. Can you help me??
<p>
<a href="agend_desporto.php?modifier=-1"> Anterior </a> |
<a href="agend_desporto.php?modifier=0"> Actual </a>
<? if( ($arrl["Bmonth"] + 1) != NULL) {?>
| <a href="agend_desporto.php?modifier=1"> Seguinte </a>
<? } else { ?>
<a></a>
<? } ?>
</p>
I have problems with this code. My point is if the next month not exists in the DB in the field Bmonth the word "Seguinte" doesn't appear. Can you help me??