Skip to content
Advertisement

More efficient query in mysql

I want to know how do they do a query with only one textbox in the page, but the current text in the text box can be used as a parameter for the query. I’m currently using the query below but I don’t think I’m getting the desired results, is there anything wrong with my query?

JavaScript

How to do this kind of query better.

Advertisement

Answer

use % before $cut and escape this query is fine

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement