I have telephone numbers stored in a database.
it looks like this i.e. '715144336'
The first two numbers are the area-code ('71') the last seven in the normal number.
However on the edit.php page I want to split this number into a textfield for area-code and a textfield for normal number.
How can I split this value into say $tel_area ('71') and $tel_norm ('5144336')?
Any help will be appreciated!
![]()





Bookmarks