So I want to store searches on my site in a database and I want them to be unique even though the order of words doesn't matter for me for example:
some words
and
words some
are the same for me, and I just want to update the time of the last search.
So is there a way to do this in SQL (like UNIQUE) or should I find a solution in a server side language ?
And thanks in advance.