Answer the question
In order to leave comments, you need to log in
How to do a search on a PHP/SQL site?
Hello, you need to do a search on the site ... I
use this option:
$q = "SELECT * FROM `books` WHERE `name` LIKE '%$query%' OR `subject` LIKE '%$query%' OR `autor` LIKE '%$query%' OR `form` LIKE '%$query%' OR `form` LIKE '%$queryWithoutChars%' ";
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