เอาแบบนี้ละกัน script ตัว update จะทำงานโดยมี delay 2 วิ
## updater.php
<?php
$id = $_GET['id'];
$value = $_GET['value'];
$query = "update targetTable set val = '$value' where id = $id";
## html on mainpage ##
## เพิ่ม id attribute ลงไปใน tag ที่เราจะเอาเลข
<a id="target" href="hททp://www.thaiseoboard.com/tread2/#disqus_thread>0</a>
## javascript on mainpage ##
setTimeout(function(){
var id = 11; // สมมติ
var value = $('#target').html();
jQuery.get('updater.php?id='+id+'&value='+value);
},2000);