Thread: Data Table !?
View Single Post
Old Apr 4th, 2006, 5:39 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
That's so trashily formatted I can't read it. Essentially, you read the post variables at the top of the program (assuming you are using the same program as to display and process the post). If they aren't there (first access), nothing happens. Then you query the DB and display the results, often right in the form. The user dinks around and then submits the form. You're back at the beginning, but this time there are posted variables to save in the DB. Once you have the cycle working, you can introduce other variations, such a displaying outside the form, using hidden fields or drop-down menus to convey group or sort orders, or whatever.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote