?php include_once('inc/connection.php'); include_once('inc/functions.php'); //header $contents = array(); $c = 0; $sql1 = "select * from corpus"; $r1 = mysqli_query($conDB,$sql1); while($header = mysqli_fetch_assoc($r1)){ $contents[$c] = $header['item_value']; $c+=1; } ?> GPA Calculator