$subordinate=Hierarchy::find(12)->subordinates();
print_r($subordinate);
return view('goal.create')->with('data',$subordinate);
it prints lot of data as like follow:
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:
I can't find the actual data I am looking for.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire