Re: [PHP] Maths dumbass

2003-12-28 Thread Ryan A
Hi, Thanks for replying, sorry for the late replies but was busy with the holidays. Will look in to what you guys wrote, dont fully understand it :-p so will spend some time with it and if I run into any problems will get back to ya. Cheers, -Ryan Basically, have an array of # of days per

Re: [PHP] Maths dumbass

2003-12-27 Thread David T-G
Ryan -- ...and then Ryan A said... % % Hi guys, % Its not 5am here and have started on a blasted problem where am feeling like % a maths dumbass...the old noodle is just not working, any help appreciated. *grin* % % Problem, selling 4 packages rangeing from $27.50-$99.00 a month...the %

RE: [PHP] Maths dumbass

2003-12-26 Thread Mike Brum
Basically, have an array of # of days per month. Do a quick compare given the month for the # of days. For the sake of example, we'll assume the month in question has 31 days. So, here's some givens: $month_days = 31; $former_plan_days = $current_date; $new_plan_days = ($current_date -