This is what I am using to check if an post value is empty or not in codeigniter.
if($this->input->post('inputEmail')) { }
Just wanted to know what is the best method to check it, the above mentioned method or
$temp = $this->input->post('inputEmail');
if(!empty($temp)) { }