Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php substring last 4 characters to censure credit card

$censured_data = '** ** ** ' . substr($row['credit_card_number_from_db'], -4);
 
PREVIOUS NEXT
Tagged: #php #substring #characters #censure #credit #card
ADD COMMENT
Topic
Name
3+8 =