$re=mysql_fetch_array(mysql_query("select * from qq where xm2!='' order by xm3+0 desc limit 1"));
// echo $re["xm3"]; //不用这样转换,加{}就能直接使用
$id=$re["id"];
mysql_query("update qq set xm23='{$re["xm3"]}' where id='$id'");
$re=mysql_fetch_array(mysql_query("select * from qq where xm2!='' order by xm3+0 desc limit 1"));
// echo $re["xm3"]; //不用这样转换,加{}就能直接使用
$id=$re["id"];
mysql_query("update qq set xm23='{$re["xm3"]}' where id='$id'");