Browsed Time Problem
<p>I want to display  the browsed time of a user, But when i refresh it, it will be again start from 0:0:0.
How can it handle?</p>

<pre><code>&lt;?php
 $total_mints=($live_match['match_name']) * (60);

?&gt;
&lt;script language="javascript"&gt;
display_c(&lt;?=$total_mints?&gt;,'ct');
&lt;/script&gt;

&lt;script type="text/javascript"&gt;
function display_c(start,div){

window.start = parseFloat(start);
var end = 0 // change this to stop the counter at a higher value
var refresh=1000; // Refresh rate in milli seconds
if(window.start &gt;= end ){

mytime=setTimeout("display_ct('"+div+"')",refresh)
}
else {alert("Time Over ");}
&lt;/script&gt;
</code></pre>
