title: if condition with one variable for understanding
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6554384/regarding-if-statements-in-php">Regarding if statements in PHP</a>  </p>
  </blockquote>
  
  
  
  <p>this is a simple question. But Here I need to know how if condition work with only one variable. </p>
  
  <pre><code>$category='';
  
  if ($category) {
  
  }
  </code></pre>
  
  <p>can you tell what actually check in If condition? Condition has only one variable..</p>
  
  <p>is it checking variable is TRUE or FALSE? </p>