i have script and my search term is new york it show me the me result. if i search for new yor it contain no result. here is my php code.
$query="SELECT * FROM states
WHERE MATCH(title,url,description)
AGAINST('".$search."' IN NATURAL LANGUAGE MODE)
ORDER BY '".$search."' DESC
LIMIT $start, $per_page ";
$statement = $mysqli -> prepare($query);
$statement -> execute();
$rs=$statement -> get_result();
if ($rs -> num_rows == 0 ) {
echo "<p>No results were found </p>";
if ($rs -> num_rows > 0 ) {
while (strlen($query)>1 && $row = $rs -> fetch_assoc()){
echo $row['title'] . '</a>';
echo '<br/>'.$row['url'];
echo '<br/>'.$row['description'];
}