View Single Post
Old 02-25-2005, 02:49 PM   #2 (permalink)
hatchet
v7n Mentor
 
hatchet's Avatar
 
Join Date: 10-11-03
Posts: 1,148
iTrader: 0 / 0%
Latest Blog:
None

hatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nice
Try this
Code:
foreach ($items[1] as $key => $item) { preg_match("|<title>(.*)</title>|s", $item, $title); preg_match("|<link>(.*)</link>|s", $item, $link); preg-match("|<description>(.*)</description>|s", $item, $description); $itemlist[$key]['title'] = $title[1]; $itemlist[$key]['link'] = $link[1]; $itemlist[$key]['description'] = $description[1]; }
Then in your echo statement use $item['description'] to place the description.
hatchet is offline   Reply With Quote