I hope you are able to write HTML? If so you should start learning Perl and learn to use CGI.pm (wich is the CGI module in Perl).
You can run them on your commandline.
These documents will help you a lot.
There is also a book wich covers CGI.pm. It is published by O'Reilly, who have many other brilliant books as well, and it is called