I have this and return Object of class Illuminate\Database\Eloquent\Builder could not be converted t...
Hi friends, I have a form, with selectbox for employees, so select the id, well on my table users I...
Thanks folks for your attention! Employee model with select a column: public function departments()...
$employee=Employee::create([ 'name' => $request->get('name'), 'lastname' => $request-...
$users=Tlc\Employee::with('users')->get(); => Illuminate\Database\Eloquent\Collection {#822...
I make dd to $a=$products->name_product; this result when product exists, dd($a=$products->pro...
Thanks friend, but not fix, when update get succes but for create new I get this error, and I change...
Other solution for dummies :D $products=Product::where('product_name',$request->product_name)->...
The solution for the futures dummies as my! jajaja $products=Product::where('product_name',$request-...
Thank's but I need find the employee_id located on User model and get id of the row for insert on us...
The Laravel portal for problem solving, knowledge sharing and community building.