I want to remove key
and added comma
after each value, I have tired with foreach
but i coundn't sucuss.
$data = array:195 [▼
0 => 26404.759765625
1 => 26390.619140625
2 => 26391.9609375
3 => 26397.6796875
4 => 26421.630859375
5 => 26414.880859375
6 => 26409.33984375
7 => 26410.509765625
8 => 26403.220703125
9 => 26386.029296875
10 => 26400.109375
11 => 26412.369140625
12 => 26408.099609375
13 => 26418.029296875
14 => 26422.80078125
I am trying with below loop :
foreach($data as $key=>$value){
$dataes = $value
}
DD($dataes);
expected result should be like below:
array:195 [▼
26404.759765625,
26390.619140625,
26391.9609375,
26397.6796875,
so on...
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2NTx5PQ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire