03-Apr-2023
.
Admin
This post is focused on partially hide phone php. We will look at example of hide phone number php if you have question about partially hide phone in php example then i will give simple example with solution this example will help you hide phone number in php code. You just need to some step to done how to partially hide phone in php.
Example :
<?php
function hide_mobile_no($number)
{
return substr($number, 0, 2) . '******' . substr($number, -2);
}
$number = 9898899165 ;
echo hide_mobile_no($number) ;
?>
Output :
98******65
It will help you...
#PHP