Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help counting the number of characters in a field 1

Status
Not open for further replies.

mufka

ISP
Dec 18, 2000
587
US
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.

Thanks
 
Perfect, just what I needed. It works too!
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top