Support the ongoing development of Laravel.io →

codedge

Joined 1 May 2016

Statistics

Threads 0
Replies 3
Solutions 1
Articles 0

codedge has not posted any threads yet

replied 6 years ago

How do I get the last inserted id (PDO::lastInsertId)?

You can use $comment->id; to get the last inserted id.

0 Likes
Solved
replied 6 years ago

how to put routing and pages together in Laravel

In your controller method you pass the display mode to the template: public function index() {...

0 Likes
replied 6 years ago

After moving to Homestead server laravel cant find view files

This doesn't look like a problem connected to Homestead to me. I also switched from local Mac env to...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.