I have this array of json_decode:
"[{"pracetamol":"cabsol","bandol":"bottol"},{"2":"77","4":"99"}]"
dd for them :
I need to arranging them like that:
pracetamol - cabsol - 2 - 77
bandol - bottol - 4 - 99
I used this code but does not work like what I need:
$decoded = json_decode($doctor->pharmacys, true);
@foreach($decoded as $d)
@foreach($d as $k => $v)
{{"$k - $v\n"}} <br>
@endforeach
@endforeach