Change mysql code to PDO : <p>but i have this project for school,
i need to make a blog with a database connection. 
I have one using mysqli but we are only allowed to use PDO, and in don't know how i can convert it in to PDO can someone help me?</p>
