Insert Update delete Using Codeigniter
Controller:- <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class categorys extends CI_Controller { function __construct() { parent::__construct(); $this->load->helper('form'); $this->load->library('form_validation'); $this->load->model('category'); } public function category_view() { $data = array(); //get messages from the session if ($this->session->userdata('success_msg')) { $data['success_msg'] = $this->session->userdata('success_msg'); $this->session->unse...