 <p>If you like to <em>learn by doing</em> then <em>learn by doing it</em> in <strong><a href="http://php.net/manual/en/book.pdo.php" rel="nofollow">PDO</a></strong> and <a href="http://www.php.net/manual/en/pdostatement.bindparam.php" rel="nofollow">bind</a> the parameters. This is the safe and correct way to <strong>do it</strong> these days.</p>