Answers for "how to convert string array to php array in laravel"

PHP
0

string to array in laravel

$explode_id = json_decode($request->data, true);
Posted by: Guest on October-24-2020
10

laravel array to string conversion

$history = [];
foreach($array as $value){
   $array = [
       'value' => $value,
       'status_id' => 2
   ];
   array_push($history, $array);
}
Posted by: Guest on September-02-2021

Code answers related to "how to convert string array to php array in laravel"

Browse Popular Code Answers by Language