Hi,
I have a 10 number integer coming out of a database, I need to format it like this: #-###-###-####
what would be the best way to do this? I looked up the number_format method, but it doesn't accept more than one way to format the number.
thanks,
Dimava
I have a 10 number integer coming out of a database, I need to format it like this: #-###-###-####
what would be the best way to do this? I looked up the number_format method, but it doesn't accept more than one way to format the number.
thanks,
Dimava
Comment