title: IF else & else if in Codeigniter
body: <p>please check my script. </p>
  
  <pre><code>  if($namachief != NULL)
          {
              echo $namachief;
          }
    else if ($namarm != NULL)
          {
             echo $namarm;
          }
     else
          {
              echo "Something wrong. Please contact US";
          }
  </code></pre>
  
  <p>My condition isn't working when in this condition => <code>$namarm != NULL</code>, I only get white page but its normal when  in this condition => <code>$namachief != NULL</code>. </p>
  
  <p>It's fine when i do this
  <code>echo $namachief;</code> &amp; <code>echo $namarm;</code></p>
  
  <pre><code>if () {
  
  }
  else if (){
  }
  else if(){
  ------------------------ My Script Here -----------------------------
  }
  </code></pre>
  
  <p>Both answer below are right. My problem lies here. In my form I did this
  <code>&lt;option value="none"&gt;None&lt;/option&gt;</code> Then i change it to                             <code>&lt;option value=""&gt;None&lt;/option&gt;</code> </p>