Update Pdo.php

Change variable $query to $statement :)

error due to error pops up with an unknown variable