Support the ongoing development of Laravel.io →

kulkarp

Joined 13 May 2014

Statistics

Threads 1
Replies 3
Solutions 0
Articles 0

Eloquent ORM - database records inserted twice

I am new to PHP and Laravel. I have a table games and a model Game. In routes.php, I am doing the fo...

0 Likes
8 Replies
replied 10 years ago

Eloquent ORM - database records inserted twice

Hi kulkarp, Did you define the app/config/database.php file? Did you create the database and the mi...

0 Likes
replied 10 years ago

Eloquent ORM - database records inserted twice

@jarektkaczyk Thank you the response. Even I thought the same thing - visiting page twice, but I am...

0 Likes
replied 10 years ago

Eloquent ORM - database records inserted twice

thank you @eriktisme, but that doesn't work.

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.

© 2024 Laravel.io - All rights reserved.