I got this from another thread on PHP_builder:
function countdown(){
var uRl = "<?php echo $url;?>";
var cRedits = "<?php echo $credits;?>";
var tItle = "<?php echo $title;?>";
--time;
if(time == 0){
document.getElementById("countdown").innerHTML = "<a href=?confirm&url=<?php echo $url;?>&credits=<?php echo $credits;?>&title=<?php echo $title;?> name=confirm>Confirm</a>";
}else{
document.getElementById("countdown").innerHTML = time;
var t = setTimeout('countdown()', 1000);
}
}
The "var" is confusing me...not hard to do, of course. I've just never seen this before. Is it correct?
Thanks!