thanks ldww, one function i totally forgot about. u saved the day.
$lastFour = substr($creditCardNumber, -1, 4);
is there a way to grap the last four digits of a credit card? brain is just not working to figure it out.