You hava an error in your SQL syntax ; check the manual that corresponds to your MySQL server for the right
syntax to use near '2 * from use_table) t' at line 1SQL code: mysql ÀïÃæ¿ÉÒÔÕâÑùдô£¿£¿²»¶®£¬°ï¶¥... delete t from (select top 2 * from use_table) t
delete t from t where ¹Ø¼ü×Ö in (select top 2 ¹Ø¼ü×Ö from use_table) ÎÒµÄmysql-5.0.22-win32ÀïÊÔÁË£¬Ã»ÓÐÕâ¸öÓï·¨ SQL code: delete from ±íÃû where Ìõ¼þ in (select top 2 Ìõ¼þ from ±íÃû )
code=SQL]delete from use_table limit 2;[[/code] {{
1¡¢ÊDz»ÊÇPHPÖÐÖ»ÄÜʹÓÃmysql_query("update user_aa set money=money2-".$bpanmm." where uid=".$userppp);¸üÐÂÊý¾Ý£¿£¿£¿ 2¡¢PHP¸üÐÂmysql_fetch_row($res)Óëmysql_fetch_array($res)ÖеÄÊý¾ ......