Busy spinner while retrieving data
<p>I would like to add a busy spinner while retrieving data from a Mysql database.
The code is written in PHP.
The problem is that it takes too long time to get back the result from Mysql database and I would like that the user get some indication that something is happening.</p>

<p>Is there a way to do that?</p>

<p>The code looks like this:</p>

<pre><code>&lt;?php
include "db.php"
?&gt;

&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Test&lt;/title&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;?php
    // This part takes too long time to execute

    $query = "SELECT * FROM bokings WHERE Bokningsnr = '83270'";
    $result = mysql_query($query);

    while ($row = mysql_fetch_array($result)){
        $showid = $row['showid'];
        echo $showid."&lt;br&gt;";
    }

?&gt;

&lt;/body&gt; 
&lt;/html&gt;
</code></pre>

<p>Regards.</p>

<p>/Oualid</p>
