Best way to display an array of items?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
JosephDuffy
Forum Newbie
Posts: 2
Joined: Fri Sep 30, 2011 12:48 pm

Best way to display an array of items?

Post by JosephDuffy »

Hi,
I've got a script that queries a MySQL DB, and allows me to recall data by using "mysql_result($result,$i,"name");" for example.
I've got multiple pieces of data coming from this, such as "mysql_result($result,$i,"date");".
What is the most common way to display this nicely to the user? I'm guessing there's some sort of a plugin that can be used, but I can't find one that seems to fit into this model. Something skin-able would be great, but anything that makes the load on the server a bit less, with the ability for "pages" or even filtering of the results, so it only shows 10 per page or puts them in an order would be amazing.
Sorry if my googling skills just aren't up to scratch, as I can't find anything for this :(
User avatar
egg82
Forum Contributor
Posts: 156
Joined: Sat Oct 01, 2011 9:29 pm
Location: Colorado, USA

Re: Best way to display an array of items?

Post by egg82 »

best way of displaying any data to the user is through an html table
Post Reply