Get id of newly created record
If you create a new record so:
$user = User::create($request->only('email', 'name', 'password')); //Retrieving only the email and password data
How to then grab hold of that record to add something to it?
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!