Support the ongoing development of Laravel.io →

4,591 Threads

Please HELP ??? problem in links

i have travel website working with category and sub category EX: Link (1) : tours/egypt/cairo Link...

0 Likes
0 Replies

phpmysql Trigger get id on who updated the data

What is wrong with this code. Keeps getting the error "Cardinality violation:1242 Subquery........

0 Likes
0 Replies

BadMethodCallException give in eloquent

i have error with my laravel 5.3 when getting data from database this is my controller code publ...

0 Likes
1 Replies

How to get data from one to many relation.

Hello everyone. I have a small problem. I got two models: User and Group. They are connected by one...

0 Likes
4 Replies
Solved

Laravel 5.3 and Notifications

I'm trying to grab some users from the database and notify them that a new position has been posted....

0 Likes
2 Replies
Solved
posted 7 years ago

QueryBuilder doesn't get records

I have to get some records from a table given an array of ids, to do so I use this code $future_meet...

0 Likes
2 Replies
Solved

"with" or "load" causes all objects loaded

Hello All, This is my first post on this forum, so I'd like to send warm hello and thank You in adva...

0 Likes
5 Replies
Solved

belongsToMany three table

Hello. I have problem with relationship three table. We have the tables users - id - username compa...

0 Likes
2 Replies

Trouble getting value from object. Or how to get distinct date from dateTime column in a table.

So I have a query that looks like $atten = Attendance::select( DB::raw('DATE(tStamp)') )->group...

0 Likes
0 Replies

Eager loading of several relationships

I've got a Restaurant, Review and User model Restaurants have reviews, which have a user I would to...

0 Likes
3 Replies

Two Many-To-Many relationships help

I have the following scenario. I have 3 main tables: Countries Job possition Income *** Income tab...

0 Likes
2 Replies

User edits on blade update database

Hey guys, I am fairly new to the Laravel framework. Currently in my blade I have a few fields that u...

0 Likes
2 Replies

Pagination with ajax not working

I´m using Laravel5.3. The problem is that the current Pagenum is not set. I mean I get the correct d...

0 Likes
1 Replies
Solved

file upload laravel problem

I've been 5 hours on this :( Cant find what is the error : ErrorException in ContestController.php...

0 Likes
2 Replies

withPivot() Returns Incorrect Value

See Source Code Question Why does the following code return the pivot value for the original attribu...

0 Likes
0 Replies

Laravel 5.3 Eloquent : belongsToMany x2 issue

Hello there, Following up one Laracast about Roles & Permissions, I'm trying to figure out a way...

0 Likes
1 Replies
posted 7 years ago

could not make create_user_table with this command. the path seems incorrect

Anuj@Anuj-PC MINGW64 /c/wamp/www/demoProject $ php artisan make:model User -m ←[32mModel created suc...

0 Likes
0 Replies

Do factories use transactions?

I also posted my question on laracast, but perhaps anyone here has the answer. Topic on laracast I'm...

0 Likes
0 Replies

Pass ID to create action of RESTful controller

Hi people, i have a problem. I have a RESTful controller called SCHEDE. I want to insert new row in...

0 Likes
2 Replies

Query items that have all categories

Hi, I have a Shops model associated to services, using a pivot table: public function services() {...

0 Likes
1 Replies
Solved

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.