<?php $input=' { "label_values":[ "OK1","OK2","OK3" ] }'; $obj = json_decode($input); $results = $obj->{'label_values'}; $result = array_combine( $results, $results ); print_r( $result );
You have javascript disabled. You will not be able to edit any code.