https://www.lionblogger.com/ways-to-prevent-sql-injection-attacks-in-php/
4 Ways To Prevent SQL Injection Attacks in PHP