I have made a detetor of relevance in found results in form of 
colored ine od length depended on relevance. I did it this way:

In query I inserted match (...,...,...) against ('%$var%') as relevance
in while loop I inserted 
$relevance = $row["relevance"];
$rel = round($relevance);
print "<img src=\"images/rel.gif\" border=\"0\" height=\"7\" 
width=\"$rel"."0"."\" alt=\"relevance\">\n"; 

And everything works fine but I'm wondering if anyone has better 
idea, because I'm just a newbie, never did it before and this page is 
my first try, this code is my idea but I don't conside myself smart 
in PHP.

Thank you,

Youri

<>< <>< <>< <>< God is our provider ><> ><> ><> ><> 
http://www.body-builders.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to