Hi, I have spent hours trying to figure out how to only allow the last four digits on the social security number to appear when the user submits the form. If any one could please help me I would be very greatful. I have attached both my php and my html script so know one thinks I'm not doing the work.
[php]
<?php $firstName = $_POST['fName']; $lastName = $_POST['lName']; $SocialSecuritynumber = $_POST['Number']; echo "Thank you for filling out my form, ".$firstName." ".$lastName ." ".$SocialSecuritynumber ."."; ?>[/php]
Submittal Form
First Name:
Last Name:
Social Security number:
[php] [/php]