How to choose the particular sentences in mysql in php?
$query = "select * from table where title LIKE '%{$java}%'";
if ($result = $mysqli->query($query))) {
$row = $result->fetch_array(MYSQLI_BOTH);
$title = $row2['title'];
if ($title ==TOBE== "<pink>$title</pink>") {
...........................
...........................
...........................
}
}
cause i want like this, I search the word "java", and when it appears, only the word java are pink