add Employee Added
This commit is contained in:
parent
0ae9b02fcb
commit
43dea9f661
@ -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';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user