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"? Link to comment https://forums.phpfreaks.com/topic/80513-solved-shortie-symbol-for-or/ 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 Link to comment https://forums.phpfreaks.com/topic/80513-solved-shortie-symbol-for-or/#findComment-408207 Share on other sites More sharing options...
djfox Posted December 6, 2007 Author Share Posted December 6, 2007 Thank you. Link to comment https://forums.phpfreaks.com/topic/80513-solved-shortie-symbol-for-or/#findComment-408213 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.