I want to create 10 rerords to db at the same time, but I dont know how to code:
$mymodel->title = 'abc';
$mymodel->description = 'xyz';
$mymodel->create();
Thanks in advance.
I want to create 10 rerords to db at the same time, but I dont know how to code:
$mymodel->title = 'abc';
$mymodel->description = 'xyz';
$mymodel->create();
Thanks in advance.