Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel model create array

$data = [
    ['name'=>'Coder 1', 'rep'=>'4096'],
    ['name'=>'Coder 2', 'rep'=>'2048'],
    //...
];

Coder::insert($data);
 
PREVIOUS NEXT
Tagged: #laravel #model #create #array
ADD COMMENT
Topic
Name
3+6 =