PHP function to sanitise data and prevents SQL injection

prevent sql injection php mysqli
best way to prevent sql injection in php
prevent sql injection in php login form
php sql injection prevention function
php sanitize input for mysql
how to prevent code injection attacks in php?
php sql injection example
how to prevent sql injection in mysql