skip to Main Content

Shopify – How to print Api response data as collection

I was trying to print API response data as collection on blade for that i have used following line $customers = collect(json_decode($response, true)); But whenever i tried to print with following code: @foreach($customers as $row) <tr> <td>{{$row->first_name}} {{$row->last_name}}</td> <td>{{$row->email}}</td> <td>{{$row->phone}}</td>…

VIEW QUESTION

Not counting duplicate data – Laravel

I need a querybuilder query that calculates how many different people the user is messaging without counting the repetitive data. database photo Example: conver_user_id = 165, conver_user_seller_id = 156 conver_user_id = 165, conver_user_seller_id = 156 conver_user_id = 165, conver_user_seller_id =…

VIEW QUESTION
Back To Top
Search