I want to check user input in the textbox. If the first character is a zero, it will be replaced with +63. But it should not replace all the zeroes in the string. I had search through sites but most are about replacing all of the occurrences. Thanks a lot!
I want to check user input in the textbox. If the first character is
Share
In PHP:
Would echo out:
Of course, you’ll want to validate the input and everything, but that’s how you’d replace it after it’s been submitted.