title: Pnotify database driven alert
body: <p>I am using <a href="https://github.com/sciactive/pnotify" rel="nofollow">Pnotify</a> statically and would like to get dynamic data now. </p>
  
  <p>I would like for when javascript checks the database for a Boolean value(<code>1</code>) to display the corresponding tables the alert. </p>
  
  <p>(Only one row will ever have the value of 1 set at a time.) </p>
  
  <p>Below id the script that I am using statically that I would like to modify.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(function() {
  
          $.pnotify({
              title: 'My Note,
              text: 'Reboot your computer',
              addclass: 'stack-bar-top',
              opacity: '0.89',
          });
      });
  &lt;/script&gt; 
  </code></pre>
  
  <hr>
  
  <pre><code> tableNotetification 
   -------------------------
   - id (pk)
   - notificationText
   - notificationStatus(Boolean 1= active, 0=inactive) 
  </code></pre>