US Phone Format Using PHP Function Below PHP Example code will turn the poorly formatted US phone numbers entered by Customer and format with following formats: (XXX)  XXX-XXX or XXX-XXX-XXXX Continue Reading »