We have a website built under PHP and MySQL however my colleague have used the MySQL I heard that PDO or MySQLi is better and safer. So how do we change it? Just use PDO directly instead of using the old way of connecting to the database? Could you show some script or at least give me some idea on how to do it? Do we need to change anything on the database?