> -----Original Message-----
> From: Burhan Khalid [mailto:[EMAIL PROTECTED] 
> 
> Greg Wiley wrote:
> > Funny you should ask this because I've been meaning to 
> share some code 
> > that I wrote a few months ago that does exactly this for 
> any day of the week.
> > 
> > Please feel free to use this and make changes. I'd appreciate
any 
> > changes/bug fixes being sent back to me though.
> > 
> [ snip ]
> > function num_days ($day, $month, $year) {
> [ snip ]
> 
> One tip that I would add is that instead of using individual 
> arguments, you might want to consider using an array as an 
> argument. This prevents people from inserting the arguments 
> in the wrong order, which would not yield the correct results.
> 
Thanks, that's a good idea; though I would have to change my form
code to match:-(

When I make this change, where would be a good place to submit it?

Cheers, Greg.

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

Reply via email to