What is the topic of interest, is it possible and if so how to search the database with a variable in the sql query so that you can use only one search-box, or you can insert the sql query in the button without the injection
1 answer
To implement this functionality, you must use the full-text search.
SELECT name, description FROM table WHERE MATCH (row_1, row_n) AGAINST ('search text'); |
bazeWHERE id LIKE '% $ val%', I know how to do for one column, but I would like it to look for the entire table - Elanyl