- Here is my controller function this is my function to paas the data to view
- Here is dd() out of object dd() output
-
Here is my blade code blade view table code
-
it return just make headings and with one row..
-
correct me if i am wrong,i want ot make table dynamically with values..thanks in advance
-
here is my code..
public function getDashboardData(){ $this->data['sales'] = ExcelData::all()->toArray(); //dd($this->data['sales']); return view('sales.sales_dashboard',$this->data); } @foreach($sales as $key => $values) @foreach($values as $headings=> $heading) @endforeach @endforeach @foreach($sales as $key => $values) @foreach($values as $key=> $value) @endforeach @endforeach
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2W7N1ky
via IFTTT
Aucun commentaire:
Enregistrer un commentaire