Here’s another simple class for making your life easier. I created TableModel to give me an easy way to turn a MySQL table into an HTML table. If you want to add database functionality to your site, but you don’t have a lot of experience, this is the class for you. If you pass it a database connection, the table you want indexed, how you want it ordered, and the table’s primary key, it will give you an HTML table; just wrap it in table tags and go!
You can find it here, along with a brief explanation, or just download it now and see for yourself.