Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

create new record via model in laravel

$userData = array('username' => 'Me', 'email' => 'me@yahoo.com');
User::create($userData);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #record #model #laravel
ADD COMMENT
Topic
Name
6+4 =