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 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. 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. 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
Archived
This topic is now archived and is closed to further replies.