using PDO to display an html table in the browser