PDO method in new.php