As has been said, you'll need to use a server-side scripting language to make this work properly. PHP is my first recommendation, and you may as well learn MySQL while you're at it. If you're the least bit serious about building a real website, you may as well have a database to store your info in, and it really does make it a LOT easier to register users, etc.
Here's one of the best sites for learning everything web related:
http://www.w3schools.com
I'd suggest going through a quick HTML tutorial, then move on to PHP and MySQL.
CodeSurge
Version 1.0 finally released! Code your DBP projects in style.
(And save the kittens!)