0) { // If it ran OK, display the records. // Print how many users there are: echo "
There is the information for the student you are looking for.
\n"; // Table header. echo 'Student | Course | Grade |
' . $row['name'] . ' | ' . $row['course'] . ' | ' . $row['grade'] . ' |
There is no student match with the information you provided
'; } } mysqli_close($dbc); // Close the database connection. } // End of the main Submit conditional. ?>