I have:
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??PHP Code:<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>



Reply With Quote
Bookmarks