Is there a PHP or MySQL function which will check how relevant a matching field is? Could it review the string and match against a percentage of characters?
For example I am doing a basic search script pulling back results but how can I make the more relevant results appear at the top?