<?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, 25 May 2013 06:51:38 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Gonzalo Ayuso's Blog: Pivot tables in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/13898</guid>
      <link>http://www.phpdeveloper.org/news/13898</link>
      <description><![CDATA[<p>
In <a href="http://gonzalo123.wordpress.com/2010/01/24/pivot-tables-in-php/">this new post</a> today <i>Gonzalo Ayuso</i> shows how to make "pivot tables" (at least the concept) in a PHP script to modify a data set and transform it into something else.
</p>
<blockquote>
It's not very difficult to handle pivot tables by hand but the work is always the same: groups by, totals, subtotals, totals per row... Now I want to write a class to pivot tables in PHP with the most common requirements (at least for me).
</blockquote>
<p>
His examples takes a few rows of records from a MySQL result and shows how, with the help of <a href="https://code.google.com/p/gam-pivot/">a library he's developed</a>, he can make a few commands and fetch just the data he needs including the column to pivot on. A few more examples are also included.
</p>]]></description>
      <pubDate>Mon, 25 Jan 2010 08:45:51 -0600</pubDate>
    </item>
  </channel>
</rss>
