public function actionGet_address_profile() { $pid = $_POST['pid']; $user = new User(); $data['changwat'] = $user->Get_changwat(); $data['address'] = $user->Get_address($pid); $this->renderPartial("//user/edit_address_profile", $data); }