View Single Post
Old 06-28-2009, 10:02 PM   #3 (permalink)
Jonnee
The Wanderer
 
Join Date: Dec 2007
Posts: 8
Thanks: 2
Jonnee is on a distinguished road
Default

Yes getting the week number isn't the problem as you noticed little later.

The problem is to get numbers of the week.

Lets say I have string $week and it contains current week number and days in array i.e.
$week [
week -> 23
sun -> 21
mon -> 22
tue -> 23
wed -> 24
thu -> 25
fri -> 26
sat -> 27
]

that would be the goal of the function!
Jonnee is offline  
Reply With Quote