I'm using PHP to pull info from a MySQL database. I need to find a way to determine if a field has only one character for its value. I'll use an IF statement to do one thing if it is only one character and another thing if it has more than one character.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.