What am I missing with this code?
| From: | John Meyer | Date: | Fri, 08 Nov 2002 11:44:58 +0000 |
| Subject: | What am I missing with this code? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-123350@lists.php.net to get a copy of this message | ||
for($i=1;$i<13;$i++) {
?>
<li><a href="categoryresult.php?condition=<?=urlencode("where
month(UserDOB)=" .
$i)?>"><?=jdmonthname($i,0)?> (<?=$i?>)</a></li>
<?php
}
?>
All it's printing out is "November" and "December", even though the month
is
incrementing.