add Employee Added

This commit is contained in:
gandhimathi Bharathirajan 2017-04-07 16:09:29 +05:30
parent 0ae9b02fcb
commit 43dea9f661

View File

@ -169,8 +169,18 @@ class Employeedetails extends BaseController
$this->loadViews("addemployee", $this->global, $data, NULL);
}
}
/**
* This function is used to check whether the Employee is existing in the database or not */
function CheckEmail()
{
$id = $this->input->post('id');
$this->load->model('employeedetails_model');
$query = $this->employeedetails_model->checkMailExists($id );
$query = $query[0]['EmailId'];
print_r($query);
}
function pageNotFound()
{
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';