Hi, im trying to make a feature so you can search through my news database. Below is the code.
$Link = mysql_connect ($Host, $DBUser, $DBPass);
$Query = "SELECT * from News WHERE News LIKE '%$text%'";
$Result = mysql_db_query ($DBName, $Query, $Link);
while ($news = mysql_fetch_array($Result)) {
print("$news[News]");
}
This searches for $text in the database which works fine. I really need it to be able to search for multiple words.... does anyone know how i would go about doing this?
Thanks