|
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!!
|