title: Assign an initial value to radio button as unchecked
body: <p>There's an answered question titled "Assign an initial value to radio button as checked". I need to know how to do the same, but with the value of "unchecked". I ask this because I need to pass the "checked" or "unchecked" value as a PHP variable, dependant on a condition, but passing checked="", still returns checked. If setting "unchecked" is not done with checked="", how is it done? Here is my code:</p>
  
  <pre><code>         if($status=='Billable'){
                 $status1 = 'checked';
                 $status2 = '';
                             }else{
                                      $status1 = '';
                                      $status2 = 'checked';                                        
                                  }
  </code></pre>
  
  <p>html:</p>
  
  <pre><code>    &lt;input type='radio' name='status' checked='".$status1."' value='Billable'&gt;
  
      &lt;input type='radio' name='status' checked='".$status2."' value='Not Billable'&gt; 
  </code></pre>