codeigniterHow to use the CI libraries and helper?


Syntax

  1. $this->load->library('library_name');

  2. $this->library_name->function_name();

  3. $this->load->library('cart'); # for helper $this->load->helper('helperName');

  4. $this->cart->insert($Array);