Question: Please help me to create a script in php that validates whether a credit card number contains only integers. The script will remove dashes and
Please help me to create a script in php that validates whether a credit card number contains only integers. The script will remove dashes and spaces from the string. After the dashes and spaces are removed, the script should reject the credit card number if it contains any other non-numeric characters.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
