djfox Posted December 6, 2007 Share Posted December 6, 2007 If I want to say in my expression something like if $value is 5 or 9, do this, what would I use to represent that "or"? Quote Link to comment Share on other sites More sharing options...
craygo Posted December 6, 2007 Share Posted December 6, 2007 <?php if($value == "5" || $value == "9"){ //do this } ?> Ray Quote Link to comment Share on other sites More sharing options...
djfox Posted December 6, 2007 Author Share Posted December 6, 2007 Thank you. Quote Link to comment 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.