title: PHP MySQL Disable a button if today is Sunday
body: <p>Need some help on how to disable a button. Using HTML/PHP</p>
  
  <p>If today is Sunday, disable the button.</p>
  
  <pre><code>&lt;button&gt;Disable Me&lt;/button&gt;
  </code></pre>
  
  <p>Else If today is Weekdays, (from 8am to 5pm) the button is active. Otherwise, the button is disabled.</p>
  
  <pre><code>if(8am to 5pm){
  
  &lt;button&gt;Active&lt;/button&gt;
  
  }else{
  &lt;button&gt;Disable Me&lt;/button&gt;
  </code></pre>