判断语句写点问题
 if(($xingming==mysql_fetch_object($result)))