Re: [PHP] if(date("Y-m-d") >

2005-01-10 Thread Richard Lynch
> On Mon, 10 Jan 2005 13:08:28 -0500, John Taylor-Johnston > <[EMAIL PROTECTED]> wrote: >> Hi, >> I would like some help to improve this script. I'm a teacher with a >> schedule of 17 weeks. >> Instead of using if(date("Y-m-d") >= $week3) I would like to do a "for >> i = 1 to 17" and if the curren

Re: [PHP] if(date("Y-m-d") >

2005-01-10 Thread Bret Hughes
On Mon, 2005-01-10 at 12:08, John Taylor-Johnston wrote: > Hi, > I would like some help to improve this script. I'm a teacher with a schedule > of 17 weeks. > Instead of using if(date("Y-m-d") >= $week3) I would like to do a "for i = 1 > to 17" and if the current date date("Y-m-d") = week[i] I w

Re: [PHP] if(date("Y-m-d") >

2005-01-10 Thread Travis Conway
- Original Message - From: "John Taylor-Johnston" <[EMAIL PROTECTED]> To: Sent: Monday, January 10, 2005 12:08 PM Subject: [PHP] if(date("Y-m-d") > Hi, I would like some help to improve this script. I'm a teacher with a schedule of 17 weeks. Instead of us

Re: [PHP] if(date("Y-m-d") >

2005-01-10 Thread Andrew Kreps
On Mon, 10 Jan 2005 13:08:28 -0500, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Hi, > I would like some help to improve this script. I'm a teacher with a schedule > of 17 weeks. > Instead of using if(date("Y-m-d") >= $week3) I would like to do a "for i = 1 > to 17" and if the current date

Re: [PHP] if(date("Y-m-d") >

2005-01-10 Thread Andrew Kreps
On Mon, 10 Jan 2005 13:08:28 -0500, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Hi, > I would like some help to improve this script. I'm a teacher with a schedule > of 17 weeks. > Instead of using if(date("Y-m-d") >= $week3) I would like to do a "for i = 1 > to 17" and if the current date

[PHP] if(date("Y-m-d") >

2005-01-10 Thread John Taylor-Johnston
Hi, I would like some help to improve this script. I'm a teacher with a schedule of 17 weeks. Instead of using if(date("Y-m-d") >= $week3) I would like to do a "for i = 1 to 17" and if the current date date("Y-m-d") = week[i] I would like to echo "This is week $week[i]"; Can someone show me ho