Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

array to string

print_r($request->education); //It is an array print

$str_json = json_encode($request->education); //array to json string conversion
echo  $str_json; // printing json string

print_r(json_decode($str_json)); //printing array after convert json string to array

exit; // exiting further execution to check resutls
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #string
ADD COMMENT
Topic
Name
9+5 =