<li>
<a tabindex="-1" class ="accept" id="accept"
href="accept.php?claimid=<?php echo$row['claimid']?>">
Accept
</a>
</li>
动作.php
<?php
if(isset($_POST['username'])) {
$action = addslashes($_POST['action']);
}
$sql = "UPDATE claim set
username='".$_SESSION['username']."',
action='accept'
where claimid=".$_GET['claimid']."";
$result=mysql_query($sql) OR die(mysql_error());
?>
在页面上我有接受和拒绝之类的操作想要在这里接受而不重新加载页面