I have table with two columns user_id and tags.
user_id tags 1 1 1
You should look into the GROUP_CONCAT function in mysql.A good example is here
In your case it would be something like:
SELECT user_id, GROUP_CONCAT(tags) FROM tablename GROUP BY user_id