https://programmingfields.com/what-is-sql-injection-and-how-to-prevent-it-in-php/
What is SQL Injection and How to Prevent it in PHP