[CODE4LIB] looking for a good PHP table-manipulating class

2014-12-11 Thread Ken Irwin
Hi folks, I'm hoping to find a PHP class that designed to display data in tables, preferably able to do two things: 1. Swap the x- and y-axis, so you could arbitrarily show the table with y=Puppies, x=Kittens or y=Kittens,x=Puppies 2. Display the table either using plain text columns or

Re: [CODE4LIB] looking for a good PHP table-manipulating class

2014-12-11 Thread Cary Gordon
Where do the data come from? An array? Cary On Dec 11, 2014, at 1:32 PM, Ken Irwin kir...@wittenberg.edu wrote: Hi folks, I'm hoping to find a PHP class that designed to display data in tables, preferably able to do two things: 1. Swap the x- and y-axis, so you could arbitrarily show

Re: [CODE4LIB] looking for a good PHP table-manipulating class

2014-12-11 Thread Cary Gordon
Of course, the easiest thing to do is search for “php pivot tables”. There are many libraries for this, although I don’t recall any that output “plain text”. There are some ultra-slick ones that you can buy if you want the output to look like something from Excel in 1998. Cary On Dec 11,

Re: [CODE4LIB] looking for a good PHP table-manipulating class

2014-12-11 Thread Joe Hourcle
On Dec 11, 2014, at 4:32 PM, Ken Irwin wrote: Hi folks, I'm hoping to find a PHP class that designed to display data in tables, preferably able to do two things: 1. Swap the x- and y-axis, so you could arbitrarily show the table with y=Puppies, x=Kittens or y=Kittens,x=Puppies 2.

Re: [CODE4LIB] looking for a good PHP table-manipulating class

2014-12-11 Thread Tom Keays
Ken: are you looking for pivot table functions? I thought you were describing something more akin to the Excel TRANSPOSE function. If you are looking for a pivot table library, ADO is a good abstraction library and has it built in. http://phplens.com/adodb/pivot.tables.html If you want to