• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inserting multiple db rows?

#1
[eluser]Unknown[/eluser]
Hi All,
Hopefully this is an easy question.
I'm new to ci and I want to insert multiple rows into my db, I've searched the forums and been unable to find anything. Any help would be great.


Thanks,
dizzynutter

#2
[eluser]marcoss[/eluser]
And what would be the problem? Tongue

#3
[eluser]Unknown[/eluser]
I think dizzynutter was talking about multiple-row insert, to insert more than one row with only one query to improve performance.
This is what i want to do, i know that you can do this in a "sql way" with multiple values in the insert query, but is there an active record way to do this?

Thanks,
Martino

#4
[eluser]chamil sanjeewa[/eluser]
I think this link may help you
http://codefury.net/2009/12/insert-multi...deigniter/


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.