On Thu, 2003-06-19 at 12:57, drparker wrote:
> Is there any way I could loop thru and print all the month names (i.e.
> January, February)?
--
Tyler Lane <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
that's what I'm looking for - thanks.
David Nicholson wrote:
> Hello,
>
> This is a reply to an e-mail that you wrote on Thu, 19 Jun 2003 at 20:58,
> lines prefixed by '>' were originally written by you.
>
> > Is there any way I could loop thru and print all the month names (i.e.
> > January, Feb
Hi,
> Is there any way I could loop thru and print all the month names (i.e.
> January, February)?
I suppose you could do something like:
for ($i = 1; $1 >= 12; $i++) {
echo date("F", mktime(0, 0, 0, $i, 1, 2003)) . "";
}
Unless you just want to m
Hello,
This is a reply to an e-mail that you wrote on Thu, 19 Jun 2003 at 20:58,
lines prefixed by '>' were originally written by you.
> Is there any way I could loop thru and print all the month names (i.e.
> January, February)?
for($i=1;$i<13;$i++){
echo date("F",mktime(0,0,0,$i,1,1));
}
> Is there any way I could loop thru and print all the month names (i.e.
> January, February)?
Just make an array and loop through the array. You know the rest of the
names, right? :)
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
Is there any way I could loop thru and print all the month names (i.e.
January, February)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo