Javatpoint Logo
Javatpoint Logo

CodeIgniter Database INSERT record

In this example, we will INSERT different values in database showing meaning of Indian names through CodeIgniter.

In application/controller, file baby_form.php is created.

Look at the above snapshot, our table name is 'baby'.

This is our view page which is being loaded in the controller's page.

To run it on your browser, pass URL


Codeigniter Insert database record 3

By inserting various names in the above form we have created our table as shown below.

Codeigniter Insert database record 4

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA