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.
Organizing and displaying data in PHP
Moderator: General Moderators
Re: Organizing and displaying data in PHP
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.
Hope that helps point you in the right direction.
Re: Organizing and displaying data in PHP
Check out DOJO at http://www.dojotoolkit.org/ they have a widget called DataGrid that will probably meet your needs.