highlighting search words
Posted: Sat Nov 23, 2002 6:40 pm
hi,
how would i highlight search results? e.g....i search for "PHP" and it comes back as
i am useing
is that the best way?
thanks alot guys....
how would i highlight search results? e.g....i search for "PHP" and it comes back as
also, what is the best way to search a db table?PHP blah blah blah blah and yes here is another PHP
i am useing
Code: Select all
<?php
$sql = mysql_query("select title, text_block from table where text_block LIKE '%$searchword%'");
?>thanks alot guys....