Answers for "php format phone number with dashes function"

PHP
0

php format phone number with dashes function

$number = "1234567890";
$formatted_number = "$number[0]$number[1]$number[2]-$number[3]$number[4]$number[5]-$number[6]$number[7]$number[8]$number[9]";
Posted by: Guest on May-25-2021

Code answers related to "php format phone number with dashes function"

Browse Popular Code Answers by Language