title: TRUE if at least one condition true in php
body: <p>I am trying echo result "OK" if one of variable condition true either both true</p>
  
  <pre><code>&lt;div class="box-title"&gt;
  &lt;?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 &lt; '1000') || ($flag == '0') ){
  echo "&lt;h4&gt;Not OK&lt;/h4&gt;";
  } else { ?&gt;
  echo "&lt;h4&gt;OK&lt;/h4&gt;";
  &lt;?php }?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>it's working if i do like this</p>
  
  <pre><code>if(($point == '1000') || ($flag == '0') ){
  </code></pre>
  
  <hr>
  
  <p>but i want to pass this statement</p>
  
  <pre><code>if(($point &lt; '1000') || ($flag == '0') ){
  </code></pre>