Welcome Guest, Not a member yet? Register   Sign In
Extracting / Manipulating data from one array to generate another
#4

[eluser]mddd[/eluser]
Aha. I see I made a little mistake. See, in the part that deals with the end date, we check to see if the end date is past the current month, and if it is not, we say $enddate = $from[2]. Of course, that should have been $to[2] : we want the day of the 'to' date. Not the 'from' date because if from and to are the same day, you'll only get one day. As you have found.


Messages In This Thread
Extracting / Manipulating data from one array to generate another - by El Forum - 07-27-2010, 05:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB