12.07.2016 - Learn how to prevent from SQL Injections using PHP. Let's consider you have a login form with two fields - email (text field) and password .