Connecting to a MySQL Database with the PHP library PDO


PDO stands for PHP Data Objets and support Prepared Statements

you can also use the bindParam method, like: