Re: [PHP] Month loop

2003-06-19 Thread Tyler Lane
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

Re: [PHP] Month loop

2003-06-19 Thread drparker
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

RE: [PHP] Month loop

2003-06-19 Thread Dan Joseph
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

Re: [PHP] Month loop

2003-06-19 Thread David Nicholson
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)); }

Re: [PHP] Month loop

2003-06-19 Thread CPT John W. Holmes
> 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/

[PHP] Month loop

2003-06-19 Thread drparker
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