Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Email Address
Questions
367
Members
7950
CREATING A FUNCTION TO DISPLAY MASKED NUMBER
Satya Prakash`
To mask part of the number, I will create a function for that purpose.
<?phpfunction maskPhoneNumber($number){ $mask_number = str_repeat("*", strlen($number)-4) . substr($number, -4); return $mask_number; }echo maskPhoneNumber('08066417364');?>
This function will output
*******7364
By clicking "Sign up" you indicate that you have read and agree to the privacy policy and terms of service.
Satya Prakash`
To mask part of the number, I will create a function for that purpose.
This function will output
*******7364
Related