Membership
Main Menu
Forum Boards
Stats
- 18 tutorials
- 72,337 members
- 696,778 forum posts
- 11 blog posts
Tutorials
PHP Basic Database Handling
Views: 57642
List Everything Out
In this section, our code is all about displaying the information to the user, as well as providing him a means to alter that information, with a form. This is the user's interface, where all of our previous code gets the data it needs to do what it's got to do. We are going to build an html table to tabulate the information in a half-assed decent format.
In this chunk of code, we start out with our form opening tag. The action targets the same script that's executing, using the post method. We then open our table up, and on the first row, we list the column names. We make them links for the user to click on to order the results by, as described in the "ORDER BY" section, earlier. The last html table column is labeled "delete" because that's the column our delete links will go, for each row.
