I am trying echo result "OK" if one of variable condition true either both true
<div class="box-title">
<?php
$point = $_SESSION['myPoints'];
$user_id = $_SESSION['user_id'];
$flag = "select m_boost from users where id = $user_id ";
// FOR EXAMPLE
$point = 2000;
$flag = 1;
// condition start
if(($point < '1000') || ($flag == '0') ){
echo "<h4>Not OK</h4>";
} else { ?>
echo "<h4>OK</h4>";
<?php }?>
</div>
it's working if i do like this
if(($point == '1000') || ($flag == '0') ){
but i want to pass this statement
if(($point < '1000') || ($flag == '0') ){