Possible Duplicate:
get the value of an url response with curl
I have the json url as follow
www.example.com/hello.php?action=get&id=18&format=json
which returns output as {"id":18,"name":"Dharma"}
.
How can I get the name property by using php curl function?
I want output as "Dharma".