|
步骤:
1、找到根目录下的/member/templets/reg-new.htm,增加一行表单,如增加一行邮编表单:[*,邮编:[i,
2、打开数据库,找到表“dede_member”,增加一个“邮编”字段。
3、找到根目录下的/member/reg-new.php,185行下加一段代码:$youbian = $_POST["youbian",;下面的变量“$inQuery”改为:
$inQuery = "INSERT INTO `dede58_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'); "; |
|