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
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
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
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
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
5 matches
Mail list logo