<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tortoise IT &#187; Spreadsheet Download</title>
	<atom:link href="http://www.sean-barton.co.uk/tag/spreadsheet-download/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sean-barton.co.uk</link>
	<description>by Sean Barton, a freelance PHP website developer in Crewe, Cheshire</description>
	<lastBuildDate>Tue, 31 Jan 2012 17:34:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>XLS Download from PHP Class!</title>
		<link>http://www.sean-barton.co.uk/2009/01/xls-download-from-php-class/</link>
		<comments>http://www.sean-barton.co.uk/2009/01/xls-download-from-php-class/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 15:21:06 +0000</pubDate>
		<dc:creator>Sean</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Time Savers]]></category>
		<category><![CDATA[PHP XLS Class]]></category>
		<category><![CDATA[Spreadsheet Download]]></category>
		<category><![CDATA[XLS]]></category>

		<guid isPermaLink="false">http://www.sean-barton.co.uk/?p=193</guid>
		<description><![CDATA[Following on from my last post on creating a proper XLS spreadsheet from PHP I have just written a small class which will do all the hard work for you if necessary. It will handle rows and columns automatically aswell as being able to be passed an array and then generating a spreadsheet download for you. Download: Sample usage is as follows: //Require the file require_once (SHARED_CLASSES_DIR . 'xls.class.php'); //Instantiate the class. $xls = new xls(); //Just build an example array out of test data $array = array( array(1,2,3,4,'five') , array('five','test' ,4,3, 0) ); //Triggers the download using the passed &#8230; <a class="continue_reading" href="http://www.sean-barton.co.uk/2009/01/xls-download-from-php-class/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Following on from my last post on creating a proper XLS spreadsheet from PHP I have just written a small class which will do all the hard work for you if necessary.</p>
<p>It will handle rows and columns automatically aswell as being able to be passed an array and then generating a spreadsheet download for you.</p>
<p><strong>Download</strong>: <a class="downloadlink" href="http://www.sean-barton.co.uk/wp-content/plugins/download-monitor/download.php?id=7" title="Version 1 downloaded 1213 times" >XLS from PHP Example Class (783 bytes)</a></p>
<p><strong>Sample usage</strong> is as follows:</p>
<pre>	//Require the file
	require_once (SHARED_CLASSES_DIR . 'xls.class.php');

	//Instantiate the class.
	$xls = new xls(); 

	//Just build an example array out of test data
	$array = array(
		array(1,2,3,4,'five')
		, array('five','test' ,4,3, 0)
	);

	//Triggers the download using the passed array
	$xls-&gt;download_from_array($array);</pre>
<p>Note that when instantiating the class you can pass a string as an argument and it will set the name of the XLS download. No need to add .xls to the end because it will do that for you.</p>
<p>Download: <a class="downloadlink" href="http://www.sean-barton.co.uk/wp-content/plugins/download-monitor/download.php?id=7" title="Version 1 downloaded 1213 times" >XLS from PHP Example Class (783 bytes)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sean-barton.co.uk/2009/01/xls-download-from-php-class/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 8/25 queries in 0.070 seconds using disk
Object Caching 325/340 objects using disk

Served from: www.sean-barton.co.uk @ 2012-02-08 23:35:22 -->
