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));
}

For more info:
http://uk.php.net/manual/en/function.mktime.php
http://uk.php.net/date

HTH

David.

--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/

          Professional Web Development by David Nicholson
                    http://www.djnicholson.com/

    QuizSender.com - How well do your friends actually know you?
                     http://www.quizsender.com/
                    (developed entirely in PHP)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to