success or fail popup
<p>i have a php class to show a suceess message or fail message after an action (posting a form/updating a page) currently refreshes the page and psts either 1 or 0 and then the following code - - how can i get this to just pop up and auto close...just like a green tick or cross.....assume need to use jquery - - totally lost here so any advise welcome...thanks</p>

<pre><code>   &lt;?
    $response = $_GET['response'];
    if ($response == '0') {
    echo"
    &lt;div class=\"error message\"&gt;
                 &lt;h5&gt;FYI, something just happened!&lt;/h5&gt;
                 &lt;p&gt;This is just an info notification message.&lt;/p&gt;
    &lt;/div&gt;
    ";
    }
    if ($response == '1') {
    echo"
    &lt;div class=\"success message\"&gt;
                 &lt;h5&gt;FYI, something just happened!&lt;/h5&gt;
                 &lt;p&gt;This is just an info notification message.&lt;/p&gt; 
    &lt;/div&gt;
    ";
    }
    ?&gt;
</code></pre>
