Auto update data on a page with comet
<p>I can update a part of my webpage with</p>

<pre><code> function ()
 {
 var myvariable;
 myvariable="&lt;? echo $myvariable; ?&gt;"
 $('.liveupdate').load('record_count.php?myvariable='+myvariable).fadeIn("slow");
 }, 1000); // refresh every 10000 milliseconds&lt;/script&gt;
</code></pre>

<p>in the header and </p>

<pre><code>&lt;div class="liveupdate"&gt; &lt;/div&gt;
</code></pre>

<p>in the body. </p>

<p>With this the record_count.php uses GET to retrieve the variable and perform a task with it and echos the result into the div.</p>

<p>What I want to do is have more than one divs, each one passing it's own variable to record_count.php </p>

<p>Can anyone help?</p>
