Submission based on SQL

Student.php updated to submit items based on SQL