Guest Posted May 5, 2011 Share Posted May 5, 2011 I'm have an if statement and I want to do something like this. if($post == 5 - 10)) //five through ten {then do this} Is there a function or different method to do this? If not, I'm guessing I'll have to make the function. Link to comment https://forums.phpfreaks.com/topic/235640-does-this-function-excist/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 5, 2011 Share Posted May 5, 2011 if($post >= 5 && $post <= 10)) //five through ten {then do this} Link to comment https://forums.phpfreaks.com/topic/235640-does-this-function-excist/#findComment-1211127 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.