如何查看我使用的数据的结果或输出?

Good day! I just wanna ask. I have a drop down menu code in html, I want this code to see the results of a particular selection in drop down menu. How? For Example I have a drop down menu and it's called grade level the content in this Drop down menu is from Grade 7-Grade 12 in my current page.

Now all I want is when I select a particular grade level in my current page (e.g I choose Grade 7) and I clicked Next, I will get directed from next page which is CStep3.php with the result like "This is your tuition fee in Grade 7 is $1000."

P.S sorry if my English is so bad.

You should use PHP to handle HTTP request For example index.php

<form action="CStep3.php" method="post">
  <select name="grade">
     .
     .
    <option value="7">Grade 7</option>
     .
     .
  </select>
</form>

CStep3.php file:

<?php
$grade = $_POST['grade']
//Query your tution fee using mysql
//$tution = mysqli...
echo "This is your tution fee for grade " . $grade . ":" .$tution

//if you dont have database connection
$grade = $_POST['grade'];
$tution = null;
if ($grade == 7) {
   $tution = 10000;
} elseif ($grade == 8) {
   $tution = 20000;
} else {
   $tution = 30000;
}
echo "This is your tution fee for grade " . $grade . ":" .$tution;
?>