织梦(dede)注册会员时增加字段

步骤: 
 
1、找到根目录下的/member/templets/reg-new.htm,增加一行表单,如增加一行邮编表单: 
<li><span>邮编:</span><input type="text" class="intxt w200" name="youbian" /></li> 
2、打开数据库,找到表“dede_member”,增加一个“邮编”字段。 
 
3、找到根目录下的/member/reg-new.php,185行下加一段代码:$youbian = $_POST["youbian"];下面的变量“$inQuery”改为: 

 
$inQuery = "INSERT INTO `zuola.net_member` (`mtype` ,`userid` ,`pwd` ,`uname` ,`sex` ,`rank` ,`money` ,`email` ,`scores` ,
  `matt`, `spacesta` ,`face`,`safequestion`,`safeanswer` ,`jointime` ,`joinip` ,`logintime` ,`loginip`,`youbian` )
    VALUES ('$mtype','$userid','$pwd','$uname','$sex','10','$dfmoney','$email','$dfscores',
    '0','$spaceSta','','$safequestion','$safeanswer','$jointime','$joinip','$logintime','$loginip','$youbian'); ";