Error while using session |
(05-24-2016, 10:47 PM)shihasck Wrote: Can anyone tell me the solution for this error. Hello my friend about your second error, your header must be send before your data, this error tells you send data first. other errors, about your session, first read again user_guide CI about session, and Session start must be before others such as headers for example: public function index(){ // session start and header set $this->load->library('session'); //others can make output of view $this->load->view('',$data); } good luck |
Welcome Guest, Not a member yet? Register Sign In |