Dragen Posted October 28, 2007 Share Posted October 28, 2007 Hi, I'm not sure if this is php or mysql, but I'm trying to find a function which gets the percentage match of a mysql query. I've seen it before, but can't remember it now.. I also can't remember whether it was a php function or mysql. I'm well aware that I can figure out percentages with a bit of multiplying, dividing etc, but I'm sure there's a simple bit of code to do it for me. Does anyone know what it it? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/75111-get-percentage-of-search-result/ Share on other sites More sharing options...
GingerRobot Posted October 28, 2007 Share Posted October 28, 2007 Percentage relevance you mean? You'll want full text searching. There was a tutorial on here, but it appears to have disappeared. Quote Link to comment https://forums.phpfreaks.com/topic/75111-get-percentage-of-search-result/#findComment-379892 Share on other sites More sharing options...
Dragen Posted October 28, 2007 Author Share Posted October 28, 2007 Yeah.. I've looked everywhere and can't seem to find anything on it, apart from a post on here about mysql using this: >>>% or something to get the percent, but no info about it. I wish I'd kept the page bookmarked that I found originally. It explained how to do it quite well. Quote Link to comment https://forums.phpfreaks.com/topic/75111-get-percentage-of-search-result/#findComment-379895 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.