Is this safe for SQL injections?

This is not safe you have to use pdo for query to secure sql-injections.
here good document avilabe to prevent sql injections

url :

Is there any good topic to know how to test script for SQL injections?

I find the OWASP site helpful eg.

1 Like

I find these links rather misleading.
First one tells you to “Escape All User Supplied Input” which is a nonsense.
The second one tells you nothing on how to test but only how to exploit an already found vulnerability.

As a testing tool I would rather recommend

Thanks will take a look on it!

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