Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how get value of json encode in laravel

$json = '{"countryId":"84","productId":"1","status":"0","opId":"134"}';
$json = json_decode($json, true);
echo $json['countryId'];
echo $json['productId'];
echo $json['status'];
echo $json['opId'];
 
PREVIOUS NEXT
Tagged: #json #encode #laravel
ADD COMMENT
Topic
Name
9+8 =