Support the ongoing development of Laravel.io →

4,599 Threads

Cascade Delete Pivot Row on polymorphic relationships

I noticed that if I $mymodel->forceDelete() an item that has a polymorphic relationship, the row...

0 Likes
2 Replies

Location seach with group by and count

Is there any way to do this in either query builder or eloquent so I can easily chain in where claus...

0 Likes
0 Replies

How can I update a file upload?

Please see attached StackOverflow link. http://stackoverflow.com/questions/26720555/how-can-i-update...

0 Likes
5 Replies
Solved

How to update record in database

How can I update record in database? When I tried to use updateOrCreate i just got this error. SQLST...

0 Likes
4 Replies
Solved

Uploaded image as product.

Hi, I am making photo kiosk application. My problem is how to make an uploaded image as a product? C...

0 Likes
1 Replies

Querying existing Database

Hi all, I'm very green in Laravel. Could someone pls show me how i can query an existing DB? I have...

0 Likes
1 Replies
posted 10 years ago

How to pass PHP variable to eloquent query?

Dear All, I create a route: Route::get('/PO/DM/{time}/{number}/print', function($time, $number) { $...

0 Likes
4 Replies

Replicating database content

Hello everyone, I have been struggling for a few days with this problem and every possible solution...

0 Likes
0 Replies

Model create problem

$users = Users::create( (Input::only('nickname', 'info', 'age')) ); $insert = Users::create(...

0 Likes
2 Replies
Solved
posted 10 years ago

Sorting by relationship column

Hi everyone. I need help for a laravel problem. I want to fetch all unfinished projects that belong...

0 Likes
1 Replies
posted 10 years ago

Fatal error: Class 'Route' not found in /.../app/routes.php ...

Hi all, I'm a newbie at Laravel. I'm trying to query my Database and have already changed the config...

0 Likes
0 Replies

Public schema on postgres database is being used regardless of what I set for schema in my database config file

Hi I'm running homestead on my dev machine. I use postgres as my development database. I'd like to u...

0 Likes
1 Replies
Solved

Dynamic form fields, save to db

Hey guys, I'm trying to save some form fields to my DB that I am creating dynamically with a button...

0 Likes
3 Replies
posted 10 years ago

Sharing database contents between developers

Hello guys, what is Laravel's recommended way to share database contents (not structure) between dev...

0 Likes
0 Replies

Posting laravel 4 online not working on my godaddy.

H, Ive working on uploading laravel website to online hosting with my godaddy and unfortunately noth...

0 Likes
0 Replies

mwb2eloquent converter

There was a website for convert .mwb file to eloquent easliy. But website down. I created my website...

0 Likes
4 Replies

InvalidArgumentException for Postgresql database

If you receive an "InvalidArgumentException: Trailing data" exception when using Eloquent...

0 Likes
1 Replies

Help me translate this code to laravel

So i migrating my website from php only to laravel and now i getting issue with this part of code, i...

0 Likes
2 Replies

Eager loading with constraint in the pivot table

Hi, I am planning to create three tables researches resources research_resources (the costs for upgr...

0 Likes
2 Replies

Automatic querybuilder from link params

Hey everyone, I want to make an automatic querybuilder that takes the params from the url in the con...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.