Home Backend Development PHP Tutorial PHP编写学校网站上新生注册登陆程序的实例分享_PHP

PHP编写学校网站上新生注册登陆程序的实例分享_PHP

May 27, 2016 am 10:34 AM
php register user Login

就弄了三个页面:

(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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(2)、信息查询登录模块(mysql_stu.php):

___FCKpd___1
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152226105.jpg (1281×703)

(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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(2)、信息查询登录模块(mysql_stu.php):

___FCKpd___1
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152226105.jpg (1281×703)

(3)、查询信息显示模块(stu_info.php)

___FCKpd___2
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152251020.jpg (1281×703)

POST['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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(2)、信息查询登录模块(mysql_stu.php):

___FCKpd___1
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152226105.jpg (1281×703)

(3)、查询信息显示模块(stu_info.php)

___FCKpd___2
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152251020.jpg (1281×703)

POST['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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(2)、信息查询登录模块(mysql_stu.php):

___FCKpd___1
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152226105.jpg (1281×703)

(3)、查询信息显示模块(stu_info.php)

___FCKpd___2
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152251020.jpg (1281×703)

POST['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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(2)、信息查询登录模块(mysql_stu.php):

___FCKpd___1
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152226105.jpg (1281×703)

(3)、查询信息显示模块(stu_info.php)

___FCKpd___2
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152251020.jpg (1281×703)

POST['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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(2)、信息查询登录模块(mysql_stu.php):

___FCKpd___1
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152226105.jpg (1281×703)

(3)、查询信息显示模块(stu_info.php)

___FCKpd___2
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152251020.jpg (1281×703)

POST['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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(2)、信息查询登录模块(mysql_stu.php):

___FCKpd___1
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152226105.jpg (1281×703)

(3)、查询信息显示模块(stu_info.php)

___FCKpd___2
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152251020.jpg (1281×703)

POST['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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(2)、信息查询登录模块(mysql_stu.php):

___FCKpd___1
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152226105.jpg (1281×703)

(3)、查询信息显示模块(stu_info.php)

___FCKpd___2
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152251020.jpg (1281×703)

POST['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>
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152141216.jpg (1281×703)

(2)、信息查询登录模块(mysql_stu.php):

___FCKpd___1
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152226105.jpg (1281×703)

(3)、查询信息显示模块(stu_info.php)

___FCKpd___2
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

2016321152251020.jpg (1281×703)

POST['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 "
恭喜您,注册成功!
输入以下内容登陆系统查询注册信息
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

7 PHP Functions I Regret I Didn't Know Before 7 PHP Functions I Regret I Didn't Know Before Nov 13, 2024 am 09:42 AM

If you are an experienced PHP developer, you might have the feeling that you’ve been there and done that already.You have developed a significant number of applications, debugged millions of lines of code, and tweaked a bunch of scripts to achieve op

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

How do you parse and process HTML/XML in PHP? How do you parse and process HTML/XML in PHP? Feb 07, 2025 am 11:57 AM

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

PHP Program to Count Vowels in a String PHP Program to Count Vowels in a String Feb 07, 2025 pm 12:12 PM

A string is a sequence of characters, including letters, numbers, and symbols. This tutorial will learn how to calculate the number of vowels in a given string in PHP using different methods. The vowels in English are a, e, i, o, u, and they can be uppercase or lowercase. What is a vowel? Vowels are alphabetic characters that represent a specific pronunciation. There are five vowels in English, including uppercase and lowercase: a, e, i, o, u Example 1 Input: String = "Tutorialspoint" Output: 6 explain The vowels in the string "Tutorialspoint" are u, o, i, a, o, i. There are 6 yuan in total

Explain late static binding in PHP (static::). Explain late static binding in PHP (static::). Apr 03, 2025 am 12:04 AM

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

What are PHP magic methods (__construct, __destruct, __call, __get, __set, etc.) and provide use cases? What are PHP magic methods (__construct, __destruct, __call, __get, __set, etc.) and provide use cases? Apr 03, 2025 am 12:03 AM

What are the magic methods of PHP? PHP's magic methods include: 1.\_\_construct, used to initialize objects; 2.\_\_destruct, used to clean up resources; 3.\_\_call, handle non-existent method calls; 4.\_\_get, implement dynamic attribute access; 5.\_\_set, implement dynamic attribute settings. These methods are automatically called in certain situations, improving code flexibility and efficiency.

See all articles