<?php use Project\Classes\DB\DB; //include '../../../autoloader.php'; include '../../autoloader.php'; //require_once '../../Model/Ratings.php'; UNCOMMENT THIS LINE IF YOU ARE RUNNING THIS PAGE DIRECTLY FROM HERE AND UNCOMMENT BELOW LINE require_once '../../Rating_System/Model/Ratings.php'; require_once '../../Rating_System/database.php'; //require_once '../../database.php'; $ratingList = new Ratings(); $selectResult = $ratingList->displayRatings(); ?> <!Doctype HTML> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/Assets/css/bootstrap.min.css"/> <link rel="stylesheet" href="/Assets/css/style.css"/> <title>List of Ratings</title> </head> <!--<div class="container">--> <body> <h2>List of Ratings</h2> <table class="table table-bordered"> <thead style="color:rosybrown;font-size: 24px;"> <tr> <th scope="row">Total Votes</th>