jeudi 4 juillet 2019

How to print data in readable format using laravel 5

  $subordinate=Hierarchy::find(12)->subordinates();
  print_r($subordinate);
  return view('goal.create')->with('data',$subordinate);

it prints lot of data as like follow: enter image description here

this is really horrible. is there anyway to see the exact data fetched from database. I am talking about formatting the array. I used pre tag or dd() and getting the following horrible tree of data: enter image description here

I can't find the actual data I am looking for.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/327DI4K
via IFTTT

Aucun commentaire:

Enregistrer un commentaire