Organizing and displaying data in PHP

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
smacky311
Forum Newbie
Posts: 2
Joined: Mon May 18, 2009 11:56 am

Organizing and displaying data in PHP

Post by smacky311 »

I want to know what the process is for organizing and displaying data in PHP. I am a .NET programmer building a website in PHP using a WAMP server. There is a prebuilt control in .NET called a Gridview: http://www.codersource.net/images/Gridv ... Image2.jpg

How can I display rows of data from a database on a webpage? I would prefer the data to be sortable and updateable via the web interface too.
tech603
Forum Commoner
Posts: 84
Joined: Thu Mar 19, 2009 12:27 am

Re: Organizing and displaying data in PHP

Post by tech603 »

One possible solution is to install the appropriate pear packages on the server. Then you can take advantage of the data grid that pear uses, which include pagination and sorting. Here is a link to the pear package http://pear.php.net/package/Structures_DataGrid The only other way i know how to accomplish that is by coding it from scratch.

Hope that helps point you in the right direction.
TipPro
Forum Commoner
Posts: 35
Joined: Wed Mar 15, 2006 6:39 pm

Re: Organizing and displaying data in PHP

Post by TipPro »

Check out DOJO at http://www.dojotoolkit.org/ they have a widget called DataGrid that will probably meet your needs.
Post Reply