的价值观,我有以下阵列:1.4.3阵列
array(20) {
[0]=>
array(3) {
["href"]=>
string(112) "http://blogs.msdn.com/b/..."
["title"]=>
string(50) "How to improve performance ..."
["dateCreated"]=>
string(11) "03 apr 2012"
}
[1]=>
array(3) {
["href"]=>
string(104) "http://blogs.msdn.com/b/ ..."
["title"]=>
string(98) "Activating Windows 8 c..."
["dateCreated"]=>
string(11) "24 mar 2012"
}
所有我希望能够做的就是输出数组的值,是这样的:
foreach($array as $item) {
$item->href?
}
这应该是简单但我今晚挣扎着。