Log in

View Full Version : Next month...



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??

pavmoxo
05-13-2006, 11:32 AM
How can verify if exist the next month in a field?? The code above is correct?