Hi i recently imported a csv file to mysql and tried to display it on web using laravel
it does loop. but the data arent showing heres within my controller
$csv=tbl_name::all();<br>
return view('index')->with('csv', $csv);
and my blade file is:
@foreach($csv as $datas) <br>
{{$datas->col1}}<br>
{{$datas->col2}}<br>
{{$datas->col3}}<br>
{{$datas->col4}} <br>
@endforeach
all i get is whitespaces with no text
i made a model too so i can access it from my controller but its empty