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) Link to comment https://forums.phpfreaks.com/topic/33915-real-quick-help/ 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 Link to comment https://forums.phpfreaks.com/topic/33915-real-quick-help/#findComment-159225 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... Link to comment https://forums.phpfreaks.com/topic/33915-real-quick-help/#findComment-159227 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. Link to comment https://forums.phpfreaks.com/topic/33915-real-quick-help/#findComment-159230 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.