Unnamed
public text v1 · immutable$searchtext = "I want something awesome";
$temp = explode(" ", $searchtext);
for ($i=0; $i<count($temp); $i++) {
$result = mysql_query("SELECT * FROM table WHERE tags LIKE '%".$temp[$i]."%'");
if (mysql_num_results($result) > 0) {
while ($row = mysql_fetch_array($result)) {
// Here you decide what to do with the rows that have matching tags
}
}
}