1
<li><span>邮编:</span><input
type
=
"text"
class=
"intxt w200"
name=
"youbian"
/></li>
2、打开数据库,找到表“dede_member”,增加一个“邮编”字段。 3、找到根目录下的/member/reg-new.php,185行下加一段代码:1
$youbian = $_POST[
"youbian"
];
$inQuery = "INSERT INTO `dede_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'); ";
新闻热点
疑难解答