Dangerosking
New member
Im working on a very little php script and Im having a trouble with the if statement. I want both conditions to be true and Im getting an error:
if ($campo17 == 'No') {
if ($campo6 > 9) {$rank = 'recruitf2p'};
//both conditions must be true, campo17 must be 'no' and campo6 must be >9.
}
echo($rank)
if ($campo17 == 'No') {
if ($campo6 > 9) {$rank = 'recruitf2p'};
//both conditions must be true, campo17 must be 'no' and campo6 must be >9.
}
echo($rank)