How To Add Multiple Records Into The Same Table At A Time

Here i am trying to add multiple records into the same table at a time when the button is pressed example are when we are adding the work experience module or education details etc

Hello,

Check this link - http://stackoverflow.com/questions/7048144/how-do-you-insert-multiple-records-into-a-table-at-the-same-time . There is answer to your question in case of using query builder.

actually how to get the count for the variable in foreach loop suppose if i am using $this->getItemsToUpdate in controller it is getting error. please tell me how to get the count varible