Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel array to string conversion

$history = [];
foreach($array as $value){
   $array = [
       'value' => $value,
       'status_id' => 2
   ];
   array_push($history, $array);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #array #string #conversion
ADD COMMENT
Topic
Name
1+6 =