היי,
אני מעוניין שזה יציג לי את המידע ב 3 טורים ו2 שורות, צריך עזרה.
PHP קוד:
<table>
<tr>
<?php
$rss = new SimpleXMLElement('http://www.ynet.co.il/Integration/StoryRss2.xml', null, true);
foreach($rss->xpath('channel/item') as $item)
{
echo <<<EOF
<td>
<div><a href='{$item->link}'>{$item->title}</a></div>
{$item->description}
</td>
EOF;
}
?>
</tr>
</table>
תודה לעוזרים.