title: if isset for checkbox id?
body: <p>I have a checkbox like this</p>
  
  <pre><code>&lt;input type="checkbox" name="power" id="electrical"&gt;
  </code></pre>
  
  <p>So, can I check in PHP whether the checkbox is checked or not like this</p>
  
  <pre><code>if(isset($_POST['electrical']))
  </code></pre>
  
  <p>I know that $_POST is used with field names only, but how to get the field with it's id in PHP?</p>
  
  <p>Thanks</p>