↧
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 ArticleAnswer 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 ArticleAnswer by Philip7899 for if statement with OR in php
You should just need to replace your || with &&.
View Articleif 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