Relative Content

Tag Archive for javascriptsqlmysql

Avoid SQL injection in subquery

The following code adds a subquery to the values array that is used in an INSERT statement to the database. It’s being used in a API utility class where the values from the request are passed as parameters.