This is for a text field password input. Here is my code:
$vaar is what is entered into that field.
if(($vaar !='pass01' or 'pass02') && (!empty($vaar))) {
I can't figure out the correct syntax. I've tried ||, or, xor.
I've also tried placing 'pass01' and 'pass02' in their own ( )'s.
What I want it to do is this:
If $vaar isn't 'pass01' or 'pass02' and $vaar is not empty then do this:
just a syntax error, but I can't figure it out!
truebyOR) it won't check the following anymore