joomlaで記事内のパラメータを取得するにはどうすればよいですか? ? ?
画像フィールドのデータは次のとおりです:
{"image_intro":"images/image1.jpg","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"","float_fulltext":"","image_fulltext_alt ":"","image_fulltext_caption":""}
<br /> $db = & JFactory::getDBO();<br /> $query="SELECT * FROM #__content ORDER BY publish_up DESC LIMIT 0,7";<br /> $db->setQuery($query);<br /> $rows = $db->loadObjectList();<br /> foreach($rows as $row){<br /> echo $row->images . '<br>'; //这样只能显示整个字段的内容<br /> }<br />