detect unchecked checkbox php
<p>Is there a way to check of a checkbox is unchecked with php? I know you can do a hidden field type in html but what about with just php when the form is submitted? I tried below no luck.</p>

<pre><code>if(!isset($_POST['server'])||$_POST['server']!="yes"){
        $_POST['server']     == "No";
}
</code></pre>
