Hi,
Putting together a site with PHP and am having trouble with an if statement. Here is my code:
if ($rentals_fetch["content"]!="" | $admin_a!="auth") {
//do something
} else {
//do something else
}
Now, as you can see if either the first or the second criteria are met it will run through the first action.
My problem is that I want to require that both the criteria are met before running the action. I bet this is a pretty simple answer that I am overlooking. Any suggestions?
Thanks in advance for your help 🙂