PLS Advise, Highlighted Text from a Query
| From: | nabil | Date: | Wed, 18 Jun 2003 06:44:50 +0000 |
| Subject: | PLS Advise, Highlighted Text from a Query | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-28704@lists.php.net to get a copy of this message | ||
Dear all,
1- I have a form with an input text : keyword
2- the field address is in my MySQL as TEXT field.
3- I select * from db where address like '%keyword%'
4- I want when echo the return $row["address"] to highlight the entered
keyword (that the user has entered in the search form) in the output with a
different font backcolor or by just another color... to let the user see
what he was searching for
5- and if it possible to echo how accurate (percentage) the return rows has
fit his search...
Please Advise how to do it...