[email protected] Posted October 25, 2009 Share Posted October 25, 2009 current condition ---------------- if (strlen($sentence)<=115) I need to change it to > 40 and <115 // How can I do it?? Link to comment https://forums.phpfreaks.com/topic/178894-solved-greater-than-condition/ Share on other sites More sharing options...
Alex Posted October 25, 2009 Share Posted October 25, 2009 Use the && operator. if(strlen($sentence) > 40 && strlen($sentence) < 155)) Link to comment https://forums.phpfreaks.com/topic/178894-solved-greater-than-condition/#findComment-943773 Share on other sites More sharing options...
[email protected] Posted October 25, 2009 Author Share Posted October 25, 2009 Thanks Link to comment https://forums.phpfreaks.com/topic/178894-solved-greater-than-condition/#findComment-943812 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.