View Single Post
Old 02-16-2006, 08:24 AM   #3 (permalink)
draven77
Recruit
 
Join Date: May 2005
Posts: 13
draven77 is on a distinguished road
The reason i have to keep it like that is because it's getting passed to Authorize.net..

they require the expiration date to be sent in "mmyy".

So, i have 2 drop downs, one for month and one for year.
Then when I process it, i combine them.
$expire_date = $month.$year;

But it doesn't accept the expire date if for example it got May 08 as "508". It would have to be 0508.

I'm writing this loop so it isn't hard-coded and I don't have to update it next year. make sense ??

Thanks for the input!!
draven77 is offline   Reply With Quote