al3x8730 Posted September 8, 2008 Share Posted September 8, 2008 Using PHP how would I go about disallowing strings of text larger than 16 letters? Quote Link to comment https://forums.phpfreaks.com/topic/123203-disallowing-strings-16-letters/ Share on other sites More sharing options...
pocobueno1388 Posted September 8, 2008 Share Posted September 8, 2008 if (strlen($string) > 16){ echo "ERROR"; } Quote Link to comment https://forums.phpfreaks.com/topic/123203-disallowing-strings-16-letters/#findComment-636289 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.