I made a fast and extremely simple example of PHP’s own PDO class to handle a MySQL database for my class example. We will need a database table called ‘task’ in a MySQL server running on localhost for this to work. The table contains two fields: id INT(6) NOT NULL AUTO_INCREMENT PRIMARY KEY name VARCHAR(64) More…