I want to show all values of two specified columns 'first_name' and 'pic' from my 'users' table. I am trying 'pluck' but it showing like json format when echo. But I need to show it, something - 'John pic' for all.Please, someone help me. Here is my sample code in 'index.blade.php' bellow -
<?php
$fName = DB::table('users')->pluck('first_name','pic');
echo $fName;
?>