how can i set error info for my home page. here is my code :      if($evaluation_sheet_t3 == 0)
                {
                    $error_eval = $error_eval.'Term 3,';
                    $error_eval = substr($error_eval,0,strlen($error_eval)-1);
                    $error_info = "The ".$error_eval." evaluations are not completed.";  
                    $this->session->set_flashdata('error_info',$error_info);  
                    redirect(base_url().'teacher_manager/term_wise_sheet_data/'.$term_value.'/'.$class_name1.'/'.$subject_id,'refresh');
                }  


above is my controller. plz help someone


