<?
$jsonString = '{"meta":{"status":200,"msg":"OK"},"response":{"blog":
{"title":"happiness.","posts":12215,"name":"random","url":"http:\/\/www.demo.com\/","updated":1354380368,"description":"","ask":true,"ask_anon":true,"share_likes":true,"likes":166 1}}}';
$jsonObject = json_decode($jsonString);
$result = '';
foreach ($jsonObject->response as $blog) {
$result .= $blog->title . ' - ' . $blog->url . '<br/>' . "\n";
}
echo $result;
?>
从 $blog->url 开始。返回一个 url,我怎样才能把这个 url 放在一个锚标签中?