title: How do i add disable a checkbox using php
body: <pre><code>$query = "SELECT * FROM seats WHERE SeatStatus = 1";
  $display = @mysql_query($query);
  
  
  if ($display){
  $disable = "disable";
  }
  
  
      &lt;input name="ch1" type="checkbox" id="A1" value="" &lt;?php echo $disable ?&gt;/&gt;;
  </code></pre>
  
  <p>how do i add "disable" inside the code...ive tried many time..but still didnt work..
  Im new with php btw...Thanks..~</p>