Hence $this->db->insert_id()

The insert ID number when performing database inserts.

And there is no auto incremented id in your database

TO check data is insert or not use

Displays the number of affected rows, when doing “write” type queries (insert, update, etc.).

Models

Read http://www.codeigniter.com/user_guide/database/helpers.html