Prevent SQL injection vulnerabilities in PHP applications and fix them

Prevent SQL injection vulnerabilities in PHP applications and fix them