function regAction(){ $mOb=new MemberModel; $re=$mOb -> addMember($_POST); if($re){ $this->assign("jumpUrl","index.php?m=Member&a=postEmail&email=".$_POST['email']); $this->assign("waitSeconds","3"); $this->success(); }else{ $this->assign("jumpUrl","index.php?m=Member&a=reg"); $this->assign("waitSeconds","3"); $this->error(); } }