Not sure if this helps but how about?


        $months=array(January=>array("31","has 1 day holiday"),
February=>array("28","is very cold"));

        for($i=0; $i < count($months); $i++) {
        while(list($key,$val)=each($months)) {echo $key.' has
'.$val[0].' days, it '.$val[1].' <BR>';}


Matthew Luchak 
Kaydara Inc. 

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to