Ganbree Posted January 12, 2007 Share Posted January 12, 2007 My problem is incredibly simple but that is what makes it so frustrating,I cant find a function / documentation on a function (in php) that measures the length of a sting in CHARACTERS! There must be 5 with length when appended to a font 'n' fontsize.Im pretty sure this can be done because i have seen other sites in php limit the size on entry and minimum(not in html or javascript) Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted January 12, 2007 Share Posted January 12, 2007 ?strlen($str) counts the length of a string.if you want the html out of there then strlen(strip_tags($str)); is your friend Quote Link to comment Share on other sites More sharing options...
Ganbree Posted January 12, 2007 Author Share Posted January 12, 2007 Ty, by this question you would think im new to php but php.net function search has let me down... Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 12, 2007 Share Posted January 12, 2007 try gotapi.com - it helps me with js functions sometimes. Maybe it'll help you with php. Quote Link to comment 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.