title: PHP call html alert box
body: <p>So I'm working on a website. This site has a very cool <code>css alert boxes</code>. But the owner requested the box to be shown when a function is completed successfully!</p>
  
  <p><strong>HTML ALERT</strong></p>
  
  <pre><code>   &lt;div class="message-box message-box-info animated fadeIn" id="message-box-info"&gt;
          &lt;div class="mb-container"&gt;
              &lt;div class="mb-middle"&gt;
                  &lt;div class="mb-title"&gt;&lt;span class="fa fa-info"&gt;&lt;/span&gt; Information&lt;/div&gt;
                  &lt;div class="mb-content"&gt;
                      &lt;p&gt;Welcome, &lt;strong&gt;&lt;?php echo $_SESSION['username']; ?&gt;&lt;/strong&gt; &lt;/p&gt;
                  &lt;/div&gt;
                  &lt;div class="mb-footer"&gt;
                      &lt;button class="btn btn-default btn-lg pull-right mb-control-close"&gt;Close&lt;/button&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p><strong>BUTTON THAT TRIGGERS ALERT</strong></p>
  
  <pre><code>&lt;button type="button" class="btn btn-info mb-control" data-box="#message-box-info"&gt;Info&lt;/button&gt;
  </code></pre>
  
  <p>So in <code>php</code> how could I trigger the alert with out using the button? - Thank you!</p>