Escaping user input for search queries

In mysql/mariadb you have the escape_string for making user input search strings more secure.

What is the best way to escape user input or make the user input safer when searching with match and match_all and taking user input ?

is there a good way to escape user input and make it more secure?

There is a way not to report error messages with

but i am looking for a good way to make user input more secure

Do you have an example of something unsecured?

No i do not, but it is scary to have no escaping or sanitization for user input

So why do you think it's unsecured then?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.