-1

I am new to CodeIgniter. I have got stuck up with a problem. I am developing a school management system, where I will have to display a page containing all the information of the students. There will be an additional checkbox to mark the students present or absent. On clicking the save button, the students present will have their data updated all together. Please I would request you all to send a framework and base code of the controller model and view in CodeIgniter to help me understand how to work on it.

Dan
  • 9,391
  • 5
  • 41
  • 73
  • duplicate question http://stackoverflow.com/questions/14946766/codeigniter-insert-multiple-records-without-cycle – Niraj Chauhan Aug 04 '14 at 13:34
  • Welcome to StackOverflow. Please post any code you already have or what you tried. We will help you with specific problems but aren't the ones who write your code. – chill0r Aug 04 '14 at 13:34

1 Answers1

0

You can use insert_batch Active record function of CodeIgniter.

You can create array of data which you want to add and then pass it to insert_batch function.

Codeigniter Documentation

Dan
  • 9,391
  • 5
  • 41
  • 73
PravinS
  • 2,640
  • 3
  • 21
  • 25
  • Please don't post urls in code tags (if they don't belong to the code) - the are not linked in code tags – chill0r Aug 04 '14 at 13:38