javascript - how to escape sql injections? -


I have encountered a problem that when I use SQL in the query like follow up: < Pre> sql = "select from chat, where keywords like% key%";

When I execute% param with this parameter, it will query all the results of this table. So how can I solve this problem?

  select from where customers like '% ground%';   

you "symbol"

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -