Welcome Guest, Not a member yet? Register   Sign In
Insert multiple records to database

hi guys, a newbie and a quick question, I tried to google but for some reason i couldnt get what I needed.

Here is a view which i need to insert into a table

$title= array ('name' =>'title[]','class' => 'title');
$description= array ('name' =>'description[]','class' => 'description');

my question is how to do for each here in my model and also is this correct to do this in model or do i need to post for each on controller?

Thank you all in advance

Theme © iAndrew 2016 - Forum software by © MyBB