Added some testing lines to index.php. Now executing SELECT statements as well.