Answer the question
In order to leave comments, you need to log in
How to improve the search function?
Good afternoon everyone, I'm doing a small simple live search, in the input for searching after entering two characters, a script works that displays everything found in the following image:
$db_referal = $mysqli -> query("SELECT name FROM product WHERE name LIKE'%$referal%'");
while ($row = $db_referal -> fetch_array()) {
echo "\n<li>".$row["name"]."</li>";
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question