mattal999 Posted October 18, 2007 Share Posted October 18, 2007 how can you check how long say, [email protected], is? thanks Link to comment https://forums.phpfreaks.com/topic/73803-solved-check-a-string-length/ Share on other sites More sharing options...
cmgmyr Posted October 18, 2007 Share Posted October 18, 2007 <?php echo strlen($email); ?> Link to comment https://forums.phpfreaks.com/topic/73803-solved-check-a-string-length/#findComment-372329 Share on other sites More sharing options...
mattal999 Posted October 18, 2007 Author Share Posted October 18, 2007 ok, thanks just testing now... Link to comment https://forums.phpfreaks.com/topic/73803-solved-check-a-string-length/#findComment-372332 Share on other sites More sharing options...
mattal999 Posted October 18, 2007 Author Share Posted October 18, 2007 yup, it works, thanks Link to comment https://forums.phpfreaks.com/topic/73803-solved-check-a-string-length/#findComment-372336 Share on other sites More sharing options...
cmgmyr Posted October 18, 2007 Share Posted October 18, 2007 no problem. You should do a quick google search or look through the PHP manual for little things like that. Link to comment https://forums.phpfreaks.com/topic/73803-solved-check-a-string-length/#findComment-372347 Share on other sites More sharing options...
mattal999 Posted October 19, 2007 Author Share Posted October 19, 2007 yea, i thought it would be something to do with 'str'. i looked in the manual but couldn't find strlen, i didnt know what i was even looking for, but i kept finding strstr, str..., str... lol. thanks anyways Link to comment https://forums.phpfreaks.com/topic/73803-solved-check-a-string-length/#findComment-373025 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.