<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 06 Sep 2008 15:16:50 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: Reading and Writing Spreadsheets with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9902</guid>
      <link>http://www.phpdeveloper.org/news/9902</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, <i>Vikram Vaswani</i> has <a href="http://devzone.zend.com/article/3336-Reading-and-Writing-Spreadsheets-with-PHP">posted a tutorial</a> that shows hos to "break the language barrier" between PHP and Microsoft's Excel to allow for the reading and writing of spreadsheet data directly from one to the other.
</p>
<blockquote>
When it comes to playing nice with data in different formats, PHP's pedigree is hard to beat. Not only does the language make it a breeze to deal with SQL result sets and XML files, but it comes with extensions to deal with formats as diverse as Ogg/Vorbis audio files, ZIP archives and EXIF headers. So it should come as no surprise that PHP can also read and write Microsoft Excel spreadsheets, albeit with a little help from PEAR.
</blockquote>
<p>
After grabbing the different parts needed (the <a href="http://sourceforge.net/projects/phpexcelreader/">PHP-ExcelReader package</a> and the <a href="http://pear.php.net/package/Spreadsheet_Excel_Writer">Spreadsheet_Excel_Writer PEAR package</a>, he shows how to create a simple spreadsheet with just numeric information in it. For something a bit more interesting, he goes the other way and shows spreadsheet data as an HTML table.
</p>
<p>
Other examples included <a href="http://devzone.zend.com/article/3336-Reading-and-Writing-Spreadsheets-with-PHP">as well</a> are things like: pushing spreadsheet data into a database, working with formulas and styling it to your liking.
</p>]]></description>
      <pubDate>Thu, 03 Apr 2008 08:49:19 -0500</pubDate>
    </item>
  </channel>
</rss>
