就弄了三个页面:
(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>
(2)、信息查询登录模块(mysql_stu.php):
新生登陆系统 数据库创建失败:".mysql_error()); $result=mysql_select_db(mis_stu) or die('选择mis_stu数据库失败:'.mysql_error()); $createtable="create table if not exists stu_reg (stu_name varchar(30) not null,stu_sex char(2),stu_age int,stu_class varchar(30),stu_id varchar(18),stu_tele varchar(20),stu_email varchar(30))"; $result=mysql_query($createtable) or die('
数据表创建失败:'.mysql_error()); //选择数据库 mysql_select_db(mis_stu); if(!empty(就弄了三个页面:
(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(2)、信息查询登录模块(mysql_stu.php):
___FCKpd___1Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(3)、查询信息显示模块(stu_info.php)
基本信息 就弄了三个页面:(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(2)、信息查询登录模块(mysql_stu.php):
新生登陆系统 数据库创建失败:".mysql_error()); $result=mysql_select_db(mis_stu) or die('选择mis_stu数据库失败:'.mysql_error()); $createtable="create table if not exists stu_reg (stu_name varchar(30) not null,stu_sex char(2),stu_age int,stu_class varchar(30),stu_id varchar(18),stu_tele varchar(20),stu_email varchar(30))"; $result=mysql_query($createtable) or die('
数据表创建失败:'.mysql_error()); //选择数据库 mysql_select_db(mis_stu); if(!empty(就弄了三个页面:
(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(2)、信息查询登录模块(mysql_stu.php):
___FCKpd___1Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(3)、查询信息显示模块(stu_info.php)
___FCKpd___2Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionPOST['reg_name'])) { $name=
就弄了三个页面:
(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(2)、信息查询登录模块(mysql_stu.php):
___FCKpd___1Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(3)、查询信息显示模块(stu_info.php)
___FCKpd___2Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionPOST['reg_name']; $sex=
就弄了三个页面:
(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(2)、信息查询登录模块(mysql_stu.php):
___FCKpd___1Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(3)、查询信息显示模块(stu_info.php)
___FCKpd___2Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionPOST['reg_sex']; $age=
就弄了三个页面:
(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(2)、信息查询登录模块(mysql_stu.php):
___FCKpd___1Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(3)、查询信息显示模块(stu_info.php)
___FCKpd___2Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionPOST['reg_age']; $class=
就弄了三个页面:
(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(2)、信息查询登录模块(mysql_stu.php):
___FCKpd___1Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(3)、查询信息显示模块(stu_info.php)
___FCKpd___2Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionPOST['reg_class']; $id=
就弄了三个页面:
(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(2)、信息查询登录模块(mysql_stu.php):
___FCKpd___1Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(3)、查询信息显示模块(stu_info.php)
___FCKpd___2Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionPOST['reg_id']; $tele=
就弄了三个页面:
(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(2)、信息查询登录模块(mysql_stu.php):
___FCKpd___1Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(3)、查询信息显示模块(stu_info.php)
___FCKpd___2Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionPOST['reg_tele']; $email=
就弄了三个页面:
(1)、新生信息注册模块(register.php):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>班级注册表</title> </head> <body background="image/bg3.jpg"> <center><img src="/static/imghw/default1.png" data-src="image/school_1.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <marquee behavior="alternate" bgcolor="#FF0000"><b>河南理工大学真诚欢迎2012级新同学到校学习</b></marquee> </center> <p><center><font color="red" size="6"><b><blink>新生注册系统</blink></b></font></center></p> <form action="mysql_stu.php" method="post" name="reg_stu"> <table align="center" cellspacing="0" bordercolor="#FFFFFF" width="60%" bordercolorlight="#FFFFFF" border="1" cellpadding="3"> <tr bgcolor="#CCCCCC"> <td width="100%" align="center" valign="bottom" height="19" colspan="2"> <font face="隶书" size="4" color="#000000">请仔细填写以下内容</font></td> </tr> <tr> <td width="30%" align="right" height="19" >姓名:</td> <td width="70%"><input type="text" name="reg_name" size="10" maxlength="18" ></td> </tr> <tr> <td width="30%" align="right" height="19">性别:</td> <td width="70%"><input type="radio" name="reg_sex" value="男" checked >男<input type="radio" name="sex" value="女">女</td> </tr> <tr> <td width="30%" align="right" height="19">年龄:</td> <td width="70%"><input type="text" name="reg_age" size="5" maxlength="15"></td> </tr> <tr> <td width="30%" align="right" height="19">班级:</td> <td width="70%"><input type="text" name="reg_class" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">身份证号:</td> <td width="70%"><input type="text" name="reg_id" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">联系电话:</td> <td width="70%"><input type="text" name="reg_tele" size="20"></td> </tr> <tr> <td width="30%" align="right" height="19">电子邮件:</td> <td width="70%"><input type="text" name="reg_email" size="20"></td> </tr> <tr> <td width="100%" align="center" colspan="2"><input type="submit" value="马上注册"> <input type="reset" value="全部重写"></td> </tr> </table> </form> <marquee behavior="scroll"> <center><img src="/static/imghw/default1.png" data-src="image/school2.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/lake.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/flower.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/autumn.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/bridge.jpg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/beauty.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party1.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party2.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party3.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > <img src="/static/imghw/default1.png" data-src="image/party4.jpeg" class="lazy" style="max-width:90%" style="max-width:90%" alt="PHP编写学校网站上新生注册登陆程序的实例分享_PHP" > </center></marquee> </body> </html>Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(2)、信息查询登录模块(mysql_stu.php):
___FCKpd___1Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexion
(3)、查询信息显示模块(stu_info.php)
___FCKpd___2Copier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionCopier après la connexionPOST['reg_email']; //定义插入数据到stu_reg表中的SQL字符串 mysql_query("set names gb2312"); $SQL="insert into stu_reg(stu_name,stu_sex,stu_age,stu_class,stu_id,stu_tele,stu_email) values ('$name','$sex','$age','$class','$id','$tele','$email')"; mysql_query($SQL); mysql_query("COMMIT"); echo "
恭喜您,注册成功!
输入以下内容登陆系统查询注册信息