我有这张桌子,里面有大约 5 列
column1, user_id, column3, column4, user_exp
如果我做这样的选择查询
$mat_sql = mysql_query(
"SELECT *
FROM users
ORDER BY user_exp DESC LIMIT 10", $general);
我如何将user_id
anduser_exp
放入数组中,使用user_id as the key
and user_exp as the value
?
谢谢