Bladephp: Now with 8+ codeigniter, php, and laravel project 8+ php project From $37/Month From Rs. 2499/Month

How to Hide numbers of a Phone Number using PHP

by
Category:php
php
How to Hide numbers of a Phone Number using PHP

In this tutorial i will show you how to mobile number hide using php. Many php project need this type speciality. I want to display numbers from database and I want to only show some digit not a all. You may also like How to check validation url www and href in PHP and How to PHP Validate URL.

PHP Code

<?php
    $number = '9979133538';
    echo  substr($number, 0, 0) . '********' . substr($number,  8);
?>

Output

********38

And if you like this tutorials please share it with your friends via Email or Social Media.


0 Comments


Html code work in comment box


Related Post