RE: [PHP] How many Mondays in a month?

2003-09-30 Thread Greg Wiley
> -Original Message- > From: Cristian Lavaque [mailto:[EMAIL PROTECTED] > > You could also put the input values in dropdown menus, at > least day and month. That way you make sure the input to the > funtion is correct everytime. > The code is just a function it's not a "page" in itsel

Re: [PHP] How many Mondays in a month?

2003-09-29 Thread Cristian Lavaque
Burhan Khalid wrote: > 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 s

RE: [PHP] How many Mondays in a month?

2003-09-29 Thread Greg Wiley
> -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 t

Re: [PHP] How many Mondays in a month?

2003-09-29 Thread Burhan Khalid
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

RE: [PHP] How many Mondays in a month?

2003-09-29 Thread Greg Wiley
No problem, just glad it's found some wider use. Cheers, Greg. > -Original Message- > From: Phil Dowson [mailto:[EMAIL PROTECTED] > Sent: 29 September 2003 17:55 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] How many Mondays in a month? > > Greg, > >

Re: [PHP] How many Mondays in a month?

2003-09-29 Thread Phil Dowson
Greg, That worked brilliantly... I bow down to your sheer excellence!!! Thankyou Thankyou Thankyou "Greg Wiley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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

RE: [PHP] How many Mondays in a month?

2003-09-29 Thread Greg Wiley
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. "Monday",

Re: [PHP] How many Mondays in a month?

2003-09-29 Thread Curt Zirzow
* Thus wrote Phil Dowson ([EMAIL PROTECTED]): > Hi, > > I have posted a similar question in php.db, but I was wondering if someone > could help out with a non-db issue. I am trying to display statistics of > visitors to my web site, and what I would like to do is show the average > number of visit