I Suggest You To Create Student Exam Result System in PHP with MYSQL:
Example of my suggestion

I want following pages

register.php
search.php
showresult.php

Register.php - > A form where marks will be entered in database.


Search.php -> A search box with "Search" button where students will enter their roll number.

showresult.php - > A page where results will be displayed according to the roll number entered in search.php page.

The page showresult.php should work as follows .....
showresult.php?id=3

That means this will show the result of that student who's roll number is 3
i suggest u to make this. Thanks