日期:2014-05-17 浏览次数:20559 次
public function register(){
if($this->isPost()) {
$Mem=D('Member');
if( $Mem->Create()) {
if($Mem->add())
echo $Mem->getLastSql();
$this->assign('waitSecond',3);
$this->success("注册成功","__APP__/Member/login"); }
public function xinxixiugai(){
if($this->isPost())
{
$Model=D('Member');
$password=$_POST['password'];
$tel=$_POST['tel'];
$address=$_POST['address'];
if($Model->Update($password,$tel,$address))
{ $this->success("更新成功",__APP__/Space/index);}
else
echo $Model->getError();
}