News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
PEAR HTML_Table Displaying Tabular Data in PHP
June 02, 2011 @ 08:44:46

On PHPBuilder.com today Jason Gilmore has posted a tutorial showing you how to use the PEAR HTML_Table component to quickly and easily display tabular information on your site.

Because the task [of building tables] is so commonplace, personally I prefer to treat it like stamping out a widget, and rely on a drop in solution. While several such standardized solutions are available, I generally prefer to use HTML_Table, a great PEAR package which makes tabular data presentation a breeze. In this tutorial I'll walk you through several of HTML_Table's key features, additionally showing you how to integrate CSS and jQuery to create an eye-appealing and interactive tabular layout in no-time flat.

He helps you through the install (using the PEAR installer) and starts you down the right path with some sample code creating a table based off some example data from an array. He shows how to add headers, put in some CSS for styling them and for making the rows highlight on mouseover. He finishes it with the jQuery bit that uses the tablesorter feature to dynamically allow sorting of the table based on the values in each column.

0 comments voice your opinion now!
pear htmltable tutorial tabular data jquery css


blog comments powered by Disqus

Similar Posts

Thomas Weinert: FluentDOM 5 + XML Namespaces

Builder.com: Match users to their geo-location with PHP and PEAR Net:Geo

DevShed: Introducing Bridge Classes with PHP 5

Matthew Weier O'Phinney's Blog: Making Zend Server Available Via SSL Only

Lorna Mitchell: Using Phing with Travis CI


Community Events





Don't see your event here?
Let us know!


library introduction api package install framework zendserver symfony deployment laravel bugfix release community opinion interview podcast unittest language voicesoftheelephpant series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework