Re: for loop changes?
| From: | Mark Charette | Date: | Sat, 15 Sep 2001 03:46:36 +0000 |
| Subject: | Re: for loop changes? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67426@lists.php.net to get a copy of this message | ||
From: "Michael Gerholdt" <keywordz@keywordz.net>
> I want the week and month days to have leading zeros - how can I make the
> new environment replicate the old?
Loop using the numeric but use printf for the formatting (which is really
what you should have used originally). Refer to the manual for the many and
varied ways printf can be used.
Mark C.