基于php+mysql的期末作业小项目(学生信息管理系统).docx

基于php+mysql的期末作业小项目(学生信息管理系统).docx

基于php+mysql的期末作业小项目(学生信息管理系统)

密码:inputtype=passwordname=password

p没有账号?点击ahref=newuser.phprel=externalnofollow注册/a/p

div

inputtype=submitvalue=登录inputtype=resetvalue=重置

/div

/form

/div

/div

/body

/html

当输入密码点击登录后会弹出登录成功或者账号或密码有错误提示

2、注册界面

!doctypehtml

html

head

metacharset=utf-8

title无标题文档/title

linkrel=stylesheettype=text/csshref=newuser.cssrel=externalnofollow

/head

body

div

imgsrc=微信图片_20250530195333333png.pngwidth=100pxheight=100px

h3学生成绩管理系统/h3

/div

divahref=login.phprel=externalnofollow/a/div

div

h2align=centerDeleteStudent/h2

formmethod=postaction=

账号:inputtype=numbername=id

密码:inputtype=passwordname=password

确认密码:inputtype=passwordname=repassword

inputtype=submitvalue=注册name=tj

/form

/div

php

include(connection.php);

if(isset($_POST[tj])){

$id=$_POST[id];

$password=$_POST[password];

$repassword=$_POST[repassword];

if($password==$repassword){

connection();

$sql=insertintouser(userid,password)values(.$id.,.$password.);

$result=mysql_query($sql);

echoscriptalert(注册成功!);location=login.php/script

}else{

echoscriptalert(密码不一致);location=newuser.php/script

/body

/html

当输入密码点击注册后会弹出注册成功或者密码不一致或者账号密码不为空提示

点击图上的小房子可以返回登录界面

3、主界面

!doctypehtml

html

head

metacharset=utf-8

title无标题文档/title

linkrel=stylesheettype=text/csshref=main.css

/head

body

div

imgsrc=微信图片_20250530195333333png.pngwidth=100pxheight=100px

h3学生信息管理系统/h3

/div

divahref=login.php/a/div

h3ahref=table.php学生表/a/h3

div

ahref=select.php查询学生信息/a

ahref=update.php修改学生信息/a

ahref=delete.php删除学生信息/a

ahref=adding.php添加学生信息/a

/div

/body

/html

4、学生表界面

点击主界面上的学生表可以进入学生表界面

!doctypehtml

html

head

met

文档评论(0)

1亿VIP精品文档

相关文档