completed exercise to create a table with data using PDO and has a previous and next button to cycle through entries