Support the ongoing development of Laravel.io →
njuarezgt

njuarezgt

Joined 2 Oct 2015

Statistics

Threads 12
Replies 15
Solutions 2
Articles 0

How to math operators on controllers

I have this and return Object of class Illuminate\Database\Eloquent\Builder could not be converted t...

0 Likes
1 Replies
Solved

How can find a key on a other model and insert on a query for store method

Hi friends, I have a form, with selectbox for employees, so select the id, well on my table users I...

0 Likes
2 Replies

How can get data from belongsToMany and send the relation array as objecto to view

Thanks folks for your attention! Employee model with select a column: public function departments()...

0 Likes
6 Replies

how can get hasbelongsToMany and send data to view

$employee=Employee::create([ 'name' => $request->get('name'), 'lastname' => $request-...

0 Likes
2 Replies
Solved

How lists a ::with relation model one to many?

$users=Tlc\Employee::with('users')->get(); => Illuminate\Database\Eloquent\Collection {#822...

0 Likes
0 Replies
replied 10 years ago

Why I get Trying to get property of non-object

I make dd to $a=$products->name_product; this result when product exists, dd($a=$products->pro...

0 Likes
replied 10 years ago

Why I get Trying to get property of non-object

Thanks friend, but not fix, when update get succes but for create new I get this error, and I change...

0 Likes
replied 10 years ago

How to update just one field with fill method in the table

Other solution for dummies :D $products=Product::where('product_name',$request->product_name)->...

0 Likes
Solved
replied 10 years ago

How to math operators on controllers

The solution for the futures dummies as my! jajaja $products=Product::where('product_name',$request-...

0 Likes
Solved
replied 10 years ago

How can find a key on a other model and insert on a query for store method

Thank's but I need find the employee_id located on User model and get id of the row for insert on us...

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.

© 2026 Laravel.io - All rights reserved.