Quantcast
Channel: if statement with OR in php - Stack Overflow
Browsing all 4 articles
Browse latest View live

Answer by Aditya Vikas Devarapalli for if statement with OR in php

you need to change this statement :if(($monthsDue!=1) || ($Payment_Type!=STANDING_ORDER))this means that "if monthsdue IS NOT EQUAL TO one_month_due OR payment is NOT BY standing order then{ // do...

View Article



Answer by user2738336 for if statement with OR in php

if(($monthsDue!=1) && ($Payment_Type!=STANDING_ORDER)){ // send emails according to more criteria}&& = AND, whereas || =...

View Article

Answer by Philip7899 for if statement with OR in php

You should just need to replace your || with &&.

View Article

if statement with OR in php

The following i have implemented but it doesnt make sense to me…can anyone help?i wanted the following:if monthsdue IS NOT EQUAL TO one_month_dueAND payment is NOT BY standing order then{ // do...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>