Using the PDO method instead of the mysql_ method in view.php (more security and stability)