how to pase json data to php
I am new with php and angularjs
I want to get json data
the chrome show the data whitch I post
{"sessionName":"1","computer":"2","quality":{"name":"LAN(very fast)"}}
I know it ,if I want to get sesstionName is
$value = json_decode(file_get_contents('php://input'));
echo $value->sessionName;
how can I get quality value in php ?
please help , thanks a lot!
No comments:
Post a Comment