09.04.2018 - SQL injection is when a malicious SQL query is injected into a legitimate query It's actually not that hard to prevent SQL injections in a PHP .