Support the ongoing development of Laravel.io →

WillAguilar

Joined 29 Aug 2016

Statistics

Threads 3
Replies 14
Solutions 2
Articles 0

User->Purchase->Details help

Hello, I need help with the following structure in laravel: - User id - Purchase id user_id - Deta...

0 Likes
0 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

Dynamic content being deleted if validation fails

Hello everyone, First of all, what a great community Laravel.IO is. I have found many answers to my...

0 Likes
0 Replies
replied 7 years ago

Laravel5 - validation: ignore a given id for multiple uniqueness condition

Your validation for updating doesnt work because you are not passing the ID exception: Validator::ma...

0 Likes
replied 7 years ago

Laravel eloquent inverse one to many returns empty

From what I can understand you have a One-to-Many relationship in your logic. So, One writer can hav...

0 Likes
replied 7 years ago

Add Columns with Methods Undefined

Your code shoudl be: $t->integer('format_id')->unsigned(); $t->foreign('format_id')->ref...

0 Likes
replied 7 years ago

DB select get only first row

Why not use Query Builder and do something like this: $user = DB::table('users')->where('id', $id...

0 Likes
replied 7 years ago

Query in foreach Loop in Blade

you have to do something like this: $product = Product::with('category')->get(); return view('pro...

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.