in thread How to allow a user to reorder rows from a database using a web form?
Um, holy batguano batman!
Drop whatever you are doing now and
read about the internet on wikipedia.
Read about the World Wide Web and web pages.
Or watch a video like World Wide Web in Plain English
Eventually go to
Tutorials: Web Programming: CGI Programming
CGI Programming 101
Ovid's CGI Course