Good Day. I'm looking for help regarding my issue I pass an array holding all photos from controller to blade view. one of the values printed as an integer although it is saved id the database as a string this is the value in database
this is my controller
public function myServices()
{
$hallArray = Auth::user()->servproviders->hallservices->all();
return view('providers.subservices.myservices')->with('hallArray',$hallArray);
}
this is the blade.php this is the blade.php
@foreach (array_reverse($hallArray) as $hall)
<div class="thumb">
<p> </p>
@endforeach
this is the output
this is the output it prints only the numbers at the beginning not all the value, although all other values are printed correctly
any advice, please?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire