<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Exporting your MySQL table data with PHPExcel + CodeIgniter	</title>
	<atom:link href="https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/feed/" rel="self" type="application/rss+xml" />
	<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/</link>
	<description>Coding is fun</description>
	<lastBuildDate>Thu, 27 Oct 2022 14:59:53 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.5</generator>
	<item>
		<title>
		By: Safe to Buy Atarax Without a Prescription		</title>
		<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31683</link>

		<dc:creator><![CDATA[Safe to Buy Atarax Without a Prescription]]></dc:creator>
		<pubDate>Thu, 27 Oct 2022 14:59:53 +0000</pubDate>
		<guid isPermaLink="false">https://dannyherran.com/?p=207#comment-31683</guid>

					<description><![CDATA[&lt;strong&gt;permit issued&lt;/strong&gt;

[...] What host are you using? Can I am getting your associate link on your host? I want site loaded up as fast as yours lol[...]]]></description>
			<content:encoded><![CDATA[<p><strong>permit issued</strong></p>
<p>[&#8230;] What host are you using? Can I am getting your associate link on your host? I want site loaded up as fast as yours lol[&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: как избавиться от чувства вины и стыда		</title>
		<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31665</link>

		<dc:creator><![CDATA[как избавиться от чувства вины и стыда]]></dc:creator>
		<pubDate>Fri, 14 Oct 2022 09:23:00 +0000</pubDate>
		<guid isPermaLink="false">https://dannyherran.com/?p=207#comment-31665</guid>

					<description><![CDATA[&lt;strong&gt;как избавиться от чувства вины перед дочерью&lt;/strong&gt;

[...]you make blogging glance[...]]]></description>
			<content:encoded><![CDATA[<p><strong>как избавиться от чувства вины перед дочерью</strong></p>
<p>[&#8230;]you make blogging glance[&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Reduslim precio Comprar en farmacias españolas (original, sitio oficial)		</title>
		<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31655</link>

		<dc:creator><![CDATA[Reduslim precio Comprar en farmacias españolas (original, sitio oficial)]]></dc:creator>
		<pubDate>Tue, 04 Oct 2022 12:50:46 +0000</pubDate>
		<guid isPermaLink="false">https://dannyherran.com/?p=207#comment-31655</guid>

					<description><![CDATA[&lt;strong&gt;ingredientes reduslim&lt;/strong&gt;

[...]you made running a blog glance[...]]]></description>
			<content:encoded><![CDATA[<p><strong>ingredientes reduslim</strong></p>
<p>[&#8230;]you made running a blog glance[&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: как избавиться от тревоги самостоятельно таблетки		</title>
		<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31652</link>

		<dc:creator><![CDATA[как избавиться от тревоги самостоятельно таблетки]]></dc:creator>
		<pubDate>Fri, 30 Sep 2022 07:22:35 +0000</pubDate>
		<guid isPermaLink="false">https://dannyherran.com/?p=207#comment-31652</guid>

					<description><![CDATA[&lt;strong&gt;как избавиться от чувства тревоги и страха форум&lt;/strong&gt;

[...] What host are you the use of? Can I am getting your associate link for your host? I desire my website loaded up as fast as yours lol[...]]]></description>
			<content:encoded><![CDATA[<p><strong>как избавиться от чувства тревоги и страха форум</strong></p>
<p>[&#8230;] What host are you the use of? Can I am getting your associate link for your host? I desire my website loaded up as fast as yours lol[&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: shekhar gohane		</title>
		<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31634</link>

		<dc:creator><![CDATA[shekhar gohane]]></dc:creator>
		<pubDate>Mon, 22 Oct 2018 07:30:00 +0000</pubDate>
		<guid isPermaLink="false">https://dannyherran.com/?p=207#comment-31634</guid>

					<description><![CDATA[here is an error which unable to handle by me can you give a solution
Non-existent class: IOFactory]]></description>
			<content:encoded><![CDATA[<p>here is an error which unable to handle by me can you give a solution<br />
Non-existent class: IOFactory</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pradeep Kumar		</title>
		<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31627</link>

		<dc:creator><![CDATA[Pradeep Kumar]]></dc:creator>
		<pubDate>Thu, 12 Apr 2018 07:28:00 +0000</pubDate>
		<guid isPermaLink="false">https://dannyherran.com/?p=207#comment-31627</guid>

					<description><![CDATA[I Am Pradeep Kumar (pnp intech  appr- 2017) 

Provide A best Link For databse  backup in codingiter 
That is Link visit it fastly:


http://only4ututorials.blogspot.in/2016/05/how-to-export-to-excel-in-codeigniter-3.html]]></description>
			<content:encoded><![CDATA[<p>I Am Pradeep Kumar (pnp intech  appr- 2017) </p>
<p>Provide A best Link For databse  backup in codingiter<br />
That is Link visit it fastly:</p>
<p><a href="http://only4ututorials.blogspot.in/2016/05/how-to-export-to-excel-in-codeigniter-3.html" rel="nofollow ugc">http://only4ututorials.blogspot.in/2016/05/how-to-export-to-excel-in-codeigniter-3.html</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nico Viola		</title>
		<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31597</link>

		<dc:creator><![CDATA[Nico Viola]]></dc:creator>
		<pubDate>Tue, 27 Sep 2016 16:40:00 +0000</pubDate>
		<guid isPermaLink="false">https://dannyherran.com/?p=207#comment-31597</guid>

					<description><![CDATA[Hi, a little improvement: 
You can fill the document using fromArray() method and forget about $col and $row vars.

use this:  

$objPHPExcel = new PHPExcel();
        $objPHPExcel-&#062;getProperties()-&#062;setTitle(&quot;export&quot;)-&#062;setDescription(&quot;none&quot;);
        $objPHPExcel-&#062;setActiveSheetIndex(0);
        $fields = $query-&#062;list_fields();
        $objPHPExcel-&#062;getActiveSheet()-&#062;fromArray($fields, null, &quot;A1&quot;);
        $objPHPExcel-&#062;getActiveSheet()-&#062;fromArray($query-&#062;result_array(), null, &quot;A2&quot;);
        $objPHPExcel-&#062;setActiveSheetIndex(0);

instead of this: 
$fields = $query-&#062;list_fields();
$col = 0;
foreach ($fields as $field)
{
$objPHPExcel-&#062;getActiveSheet()-&#062;setCellValueByColumnAndRow($col, 1, $field);
$col++;
}
// Fetching the table data
$row = 2;
foreach($query-&#062;result() as $data)
{
$col = 0;
foreach ($fields as $field)
{
$objPHPExcel-&#062;getActiveSheet()-&#062;setCellValueByColumnAndRow($col, $row, $data-&#062;$field);
$col++;
}
$row++;
}]]></description>
			<content:encoded><![CDATA[<p>Hi, a little improvement:<br />
You can fill the document using fromArray() method and forget about $col and $row vars.</p>
<p>use this:  </p>
<p>$objPHPExcel = new PHPExcel();<br />
        $objPHPExcel-&gt;getProperties()-&gt;setTitle(&#8220;export&#8221;)-&gt;setDescription(&#8220;none&#8221;);<br />
        $objPHPExcel-&gt;setActiveSheetIndex(0);<br />
        $fields = $query-&gt;list_fields();<br />
        $objPHPExcel-&gt;getActiveSheet()-&gt;fromArray($fields, null, &#8220;A1&#8221;);<br />
        $objPHPExcel-&gt;getActiveSheet()-&gt;fromArray($query-&gt;result_array(), null, &#8220;A2&#8221;);<br />
        $objPHPExcel-&gt;setActiveSheetIndex(0);</p>
<p>instead of this:<br />
$fields = $query-&gt;list_fields();<br />
$col = 0;<br />
foreach ($fields as $field)<br />
{<br />
$objPHPExcel-&gt;getActiveSheet()-&gt;setCellValueByColumnAndRow($col, 1, $field);<br />
$col++;<br />
}<br />
// Fetching the table data<br />
$row = 2;<br />
foreach($query-&gt;result() as $data)<br />
{<br />
$col = 0;<br />
foreach ($fields as $field)<br />
{<br />
$objPHPExcel-&gt;getActiveSheet()-&gt;setCellValueByColumnAndRow($col, $row, $data-&gt;$field);<br />
$col++;<br />
}<br />
$row++;<br />
}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ju Oliveira		</title>
		<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31595</link>

		<dc:creator><![CDATA[Ju Oliveira]]></dc:creator>
		<pubDate>Mon, 12 Sep 2016 16:17:00 +0000</pubDate>
		<guid isPermaLink="false">https://dannyherran.com/?p=207#comment-31595</guid>

					<description><![CDATA[Is it possible to pick the columns ($col) that we want to show in the Excel file?
Like restraining the table only to 5 or 6 specific columns..

And thank you so much!! Your code is very helpful! I&#039;m working with both Codeigniter and PHPExcel and all the examples I could find didn&#039;t have the CodeIgniter part, so thank you!! :)]]></description>
			<content:encoded><![CDATA[<p>Is it possible to pick the columns ($col) that we want to show in the Excel file?<br />
Like restraining the table only to 5 or 6 specific columns..</p>
<p>And thank you so much!! Your code is very helpful! I&#8217;m working with both Codeigniter and PHPExcel and all the examples I could find didn&#8217;t have the CodeIgniter part, so thank you!! 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ángel Rafael Mónaco Reif		</title>
		<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31588</link>

		<dc:creator><![CDATA[Ángel Rafael Mónaco Reif]]></dc:creator>
		<pubDate>Fri, 06 May 2016 14:28:00 +0000</pubDate>
		<guid isPermaLink="false">https://dannyherran.com/?p=207#comment-31588</guid>

					<description><![CDATA[I need to do the same example in a view, but it doesn&#039;t work. Anyone know why doesn&#039;t work in a view?]]></description>
			<content:encoded><![CDATA[<p>I need to do the same example in a view, but it doesn&#8217;t work. Anyone know why doesn&#8217;t work in a view?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: mukhila		</title>
		<link>https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31587</link>

		<dc:creator><![CDATA[mukhila]]></dc:creator>
		<pubDate>Sat, 23 Apr 2016 12:28:00 +0000</pubDate>
		<guid isPermaLink="false">https://dannyherran.com/?p=207#comment-31587</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31541&quot;&gt;divin kattipparambil&lt;/a&gt;.

test]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://dannyherran.com/2011/03/exporting-your-mysql-table-data-with-phpexcel-codeigniter/#comment-31541">divin kattipparambil</a>.</p>
<p>test</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Database Caching 33/43 queries in 0.008 seconds using Disk

Served from: dannyherran.com @ 2026-07-22 23:39:08 by W3 Total Cache
-->