how to check for two things in an if statement php code example Example: if statement php if (condition) { expression }