I am presently having the following query
$user_id = Auth::user()->id; $picture = Profile::all()->where('user_id','=',$user_id)->pluck('profile'); return $picture;
what it achieves is the following output
However i want it to return the value
because i want to make use of the same value inside the same controller
Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.