Here are some links: Scripting: DB: Apache: mod_rewrite
You can use any language that you want - choose that one that you are most comfortable with. Scripting languages simply output HTML code. You should also become familiar with a database system, Apache, and mod_rewrite.
Here are some links: