i wants to make a database for my school web site where students can select their class then enter their roll number then the result will show how can it possible

like
Select Class--->> Class Nursary to Class 10th (Drop down menu)
Enter Your Roll number ---> Txt-box
Submit


then it show the result of the student
Roll No##
Name ##
Father Name##
Class Name ##
Urdu ##
English##
Math ##
Islamiat##
Obtain Marks##
Total Marks ##
Grade ##

i have made all the table like the db name is "bresult" and the all tables name according to class and in all the table name i inserted tables according to their classes but i dont know how to make PHP file any one can help to make it

_bresult
result_nursary
result_one
result_two
.
.
.
result_ten

your result tables are not good, you can have only one result table with column class code in it.

you must say table name as
student_result (resultid, classcode, ...... other columns)

where class code can be one, two, nursary like that