I am wondering if it is possible to remove duplicate text using a mysql query from one field, or if a problem like this would be better solved using PHP.
I have a databa
You may consider keeping one entry per tag instead of all tags as a string, so that you could do a select distinct among other things.
select distinct