$CONFIG->query="select * from usertable where ID=".$form[ID];
$result=db_query("select");
if(count($result)<1){
echo "<script>alert('该用户不存在');</script>";
}
$result=db_query("select");
if(count($result)<1){
echo "<script>alert('该用户不存在');</script>";
}
但如果用户的记录已经庞大的话,用以上的方法是自寻烦恼!~ 建议用iframe来提交用户的ID,然后再提示用户吧!~