Re: [PHP] Checking the season

2002-01-05 Thread webapprentice
t's was a lot longer than what is here.) - Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]> To: "webapprentice" <[EMAIL PROTECTED]>; "Bogdan Stancescu" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, Januar

Re: [PHP] Checking the season

2002-01-05 Thread Tom Rogers
27;t believe a switch() >constructs cases can take expressions, can it? > > >- Original Message - >From: "Bogdan Stancescu" <[EMAIL PROTECTED]> >To: "webapprentice" <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Sent: Saturday, January 0

Re: [PHP] Checking the season

2002-01-05 Thread webapprentice
PROTECTED]> Sent: Saturday, January 05, 2002 11:38 AM Subject: Re: [PHP] Checking the season > You could do a case() or if/elseif, check if it's spring, summer or autumn and leave the code for winter as default/else. > > Bogdan > > webapprentice wrote: > > > Hi, &g

Re: [PHP] Checking the season

2002-01-05 Thread Bogdan Stancescu
You could do a case() or if/elseif, check if it's spring, summer or autumn and leave the code for winter as default/else. Bogdan webapprentice wrote: > Hi, > Just need a sounding board to help me think this through. > > I want to check the current date to determine what "season" it is and disp

[PHP] Checking the season

2002-01-04 Thread webapprentice
Hi, Just need a sounding board to help me think this through. I want to check the current date to determine what "season" it is and display the appropriate picture. I define spring as 03/21/, summer as 06/21/, autumn as 09/21/, and winter as 12/21/. I form a string for the cur