Re: [PHP] convert w date to l format

2007-01-06 Thread Jochem Maas
Robert Cummings wrote: > On Sat, 2007-01-06 at 14:46 +0200, Steven Macintyre wrote: >> Um ... can anyone point me to somewhere that it explains this ... >> >> I am trying to convert a "int" (1 through 7) to a day name (Monday through >> Friday) while in a loop with mysql results >> >> I have tried

Re: [PHP] convert w date to l format

2007-01-06 Thread Robert Cummings
On Sat, 2007-01-06 at 12:59 +, Stut wrote: > Steven Macintyre wrote: > > Um ... can anyone point me to somewhere that it explains this ... > > > > I am trying to convert a "int" (1 through 7) to a day name (Monday through > > Friday) while in a loop with mysql results > > What happened to the

Re: [PHP] convert w date to l format

2007-01-06 Thread Robert Cummings
On Sat, 2007-01-06 at 14:46 +0200, Steven Macintyre wrote: > Um ... can anyone point me to somewhere that it explains this ... > > I am trying to convert a "int" (1 through 7) to a day name (Monday through > Friday) while in a loop with mysql results > > I have tried $day = date('w', $day); > >

Re: [PHP] convert w date to l format

2007-01-06 Thread Stut
Steven Macintyre wrote: Um ... can anyone point me to somewhere that it explains this ... I am trying to convert a "int" (1 through 7) to a day name (Monday through Friday) while in a loop with mysql results What happened to the weekend? I'd hate to lose the weekend!! I have tried $day = date

[PHP] convert w date to l format

2007-01-06 Thread Steven Macintyre
Um ... can anyone point me to somewhere that it explains this ... I am trying to convert a "int" (1 through 7) to a day name (Monday through Friday) while in a loop with mysql results I have tried $day = date('w', $day); But this does not seem to work ... can anyone assist? Kind Regards, St