[eluser]maria clara[/eluser]
[quote author="theprodigy" date="1265790994"]
Yes, return $this->db->insert_id() (like you are doing) will return the company_id[/quote]
yes, i see its returning the company_id. but what i want is to put the company_id to the sec_companyaccess table for it to be posted in the jquery grid. like while it is saving in the maint_company table that it will also save the company_id in the sec_companyaccess table