I do not know if this is the right list, but if someone could help me with the following
I need a function that does this: function phone($num) { take num and remove anything that is not a number ex: () - / If there is not 1 at the start, add a one to the start of the number. make sure that the number is 10 digits (if not return -1) } Thank you for your help, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php