i have this table which has around 5 columns in it
column1, user_id, column3, column4, user_exp
If i do a select query like this
$mat_sql = mysql_query(
"SELECT *
FROM users
ORDER BY user_exp DESC LIMIT 10", $general);
How would i get only the user_id
and user_exp
into an array, with user_id as the key
and user_exp as the value
?
Thanks