How do I write an if statement with multiple conditions needing to be true? ie: if (condition1=a AND condition2=b AND condition3=c) { } else { } I'm sure it can be done, I just can't find instructions on how to do it.
if ($x=='x' && $y=='y' && $z=='z'){ // do if matches }else { //do otherwise } PHP: Hope that this is what you want