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 'Name | Mobile | |
' . $row['name'] . ' | ' . $row['StuEmail'] . ' | ' . $row['Mobile'] . ' |
There is no student match with the information you provided
'; } } mysqli_close($dbc); // Close the database connection. } // End of the main Submit conditional. ?> 0) { // If it ran OK, display the records. // Print how many lecturers there are: echo "There is the information for the lecturer you are looking for.
\n"; // Table header. echo 'Name | Telphone | |
' . $row['lecname'] . ' | ' . $row['LecEmail'] . ' | ' . $row['WTel'] . ' |
There is no lecturer match with the information you provided
'; } } mysqli_close($dbc); // Close the database connection. } // End of the main Submit conditional. ?>