[Solved] use OR in if codition to print reverse results in php


if (!$flag && $point < 1000)
{
    echo "Not OK";
} else {
    echo "OK";
}

Writing this into a truth-table:

flag        point       result
0           < 1000      Not OK
1           < 1000      OK
0           >=1000      OK
1           >=1000      OK

Worked for me now as per my question

i think we are all here for some contribution reason, flagging down a question is not a way, if you got solution than respond otherwise my question was 100% clear.

1

solved use OR in if codition to print reverse results in php