PHP+MYSQL-based score query system (including source code)

Obtain the project source files, contact Q:1415736481, can guide the completion of the design, course design   

Score query system documentation

What we are doing is a score query system, including a teacher management system and a student query system.

The functions in the teacher management system are as follows:

  1. Insert student grades.

  2. Check student results.

  3. Modify student grades.

  4. Register new students.

  5. Modify your login password.

  6. You can contact the person in charge of the Academic Affairs Office.

  7. Log in to the school website.

The functions of the student inquiry system are as follows:

  1. Check your own results.

  2. Modify your login password.

  3. You can register yourself.

Use the website:

In /score_query_sys/manager/mysql.php, the user name to connect to the database score_query_sys is root and the password is 1234

The default user name for background login is lucy password 1234

method one:

    Run /step1/mains.php

    You can enter the main page, and then you can enter the system according to the connection.

Method Two:

    First create a new score_query_sys database in the database

    Then import the new.sql document into the database

Run /step1/mains.php

Data in the database

Teacher name: lucy Password: 1234

Student: zhangsan Password: 1234

Student: zhangsan Password: 1234 Student ID: 1.

There can be multiple administrators and multiple students, who can query the database for effective information and perform operations, the same is true.

database:

1. manage_infor (manage user information table)

2. stu_infor (student information data sheet)

3. Lesson_infor (course information data sheet)

4. mark_infor (score information data sheet)

1. manage_infor (manage user information table)

serial number

Field name

Types of

Chinese field name

Remarks

1

id

int

auto numbering

 

2

manage_name

char(16)

username

 

3

manage_pw

char(32)

User password

 

4

time

datetime

Last login time

 

5

       

6

       

2. stu_infor (student information data sheet)

serial number

Field name

Types of

Chinese field name

Remarks

1

id

int

auto numbering

 

2

stu_xh

char(16)

Student ID

 

3

stu_name

char(8)

student name

 

4

stu_pw

char(16)

Student password

 

5

class_name

char(30)

Class name

 

6

       

7

       

8

       

3. Lesson_infor (course information data sheet)

serial number

Field name

Types of

Chinese field name

Remarks

1

id

int

auto numbering

 

2

lesson_bh

char(16)

Course No

 

3

add_user

char(16)

Add user

 

4

lesson_name

char(30)

course name

 

5

time

datatime

add time

 

6

       

7

       

8

       

4. mark_infor (score information data sheet)

serial number

Field name

Types of

Chinese field name

Remarks

1

id

int

auto numbering

 

2

stu_xh

char(16)

Student ID

 

3

lesson_bh

char(16)

Course No

 

4

xq_bh

char(16)

Semester number

For example: 050602 means the second semester of the 05-06 school year

5

lesson_mark

char(1)

Course score

 

6

bz

Char(60)

Remarks

Cheating, missing exams, etc.

7

       

8

       

 

Guess you like

Origin blog.csdn.net/an17822307871/article/details/114006702