Spring 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. Quote 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} Quote Link to comment https://forums.phpfreaks.com/topic/235640-does-this-function-excist/#findComment-1211127 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.