Answer the question
In order to leave comments, you need to log in
How, after clearing the value from the mask, re-substitute the mask for it?
Actually a dilemma, the decision does not ripen.
I get the phone number that the person enters using the mask.
I process the number, remove the mask from it (preg_replace('/[^\d]+/ui', '', $phone);) and throw it into the database.
How can I display data from the database with a mask?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question