title: PHP Email Send value of checkbox Yes if checked No if Unchecked
body: <p>Hello I am creating a HTML + PHP email form. My form and function is working perfectly aside from my checkboxes. I have two checkboxes. </p>
  
  <pre><code>&lt;input type="checkbox" id="boxfan" name="boxfan[]"/&gt;
  &lt;label for="boxfan"&gt;A fan?&lt;/label&gt;
  
  &lt;input type="checkbox" id="boxgbps" name="boxfan[]"/&gt;
  &lt;label for="boxalbum"&gt;Bought an album?&lt;/label&gt;
  </code></pre>
  
  <p>I want the value to be send as Yes or No, send Yes if the checked and No if unchecked.</p>
  
  <p><strong>For example:</strong></p>
  
  <p>A fan? Yes</p>
  
  <p>Bought an album?  No</p>
  
  <p>Any, suggestion is appreciated. Thanks.</p>
  
  <p>My actual form <a href="https://connspire.com/nycon/bestil-penryn-dual.html" rel="nofollow">is here</a> It's in Danish that's why I just used a simple example. </p>