hi2all i have data in array like that
object(stdClass)[33]
public 'id' => string '31' (length=2)
public 'title_english' => string 'Sales and Marketing' (length=19)
public 'title_arabic' => string 'تسويق و مبيعات' (length=26)
public 'slug' => string 'sales-and-marketing' (length=19)
public 'meta' => string 'dvd' (length=3)
public 'parent' => string '0' (length=1)
public 'image' => string '' (length=0)
public 'status' => string 'pending' (length=7)
public 'title' => string 'tawrny maintance' (length=16)
public 'user_id' => string '4' (length=1)
public 'description' => string 'nb,fmf,f,,fm,fm' (length=15)
public 'keywords' => string 'ddddddddd' (length=9)
public 'category_id' => string '1' (length=1)
public 'type' => string 'fixed' (length=5)
public 'budget_min' => string '1.00' (length=4)
public 'budget_max' => string '0.00' (length=4)
public 'created_at' => string '2014-02-17 16:38:16' (length=19)
public 'updated_at' => string '2014-02-17 16:47:02' (length=19)
public 'closed_at' => string '2014-02-24 16:38:16' (length=19)
public 'duration' => string '0' (length=1)
public 'file' => string 'freelancer.sql' (length=14)
public 'upgrade' => string '1' (length=1)
i want to output all that data
i'm using that code in my view
///////////////////
<?php
echo '<?xml version="1.0" encoding="utf-8"?>' . "\n";
?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title><?php echo $feed_name; ?> </title>
<link><?php echo $feed_url; ?> </link>
<description><?php echo $page_description; ?></description>
<dc:language><?php echo $page_language; ?></dc:language>
<dc:creator><?php echo $creator_email; ?></dc:creator>
<dc:rights>Copyright <?php echo gmdate("Y", time()); ?></dc:rights>
<admin:generatorAgent rdf:resource="http://www.codeigniter.com/" />
<?php foreach($posts->result() as $entry): ?>
<item>
<title><?php echo xml_convert($entry->title); ?></title>
<link><?php echo site_url('blog/post/' . $entry->id) ?></link>
<guid isPermaLink="true"><?php echo site_url('blog/post/' . $entry->id) ?></guid>
<description><![CDATA[<?php echo character_limiter($entry->text, 200); ?></description>
<pubDate><?php echo date ('r', $entry->date);?></pubDate>
</item>
<?php endforeach; ?>
</admin:generatoragent>
</channel>
</rss>
////////////////////
the output is
http://freelancer.dev/
khdmat projects
tawrny maintance(this is the english title of the project)
nb,fmf,f,,fm,fm (this is the description)