In my opinion use PHP/MySQL combination. PHP for the scripting and coding part and MySQL database to store your data. You can learn more about php at www.php.net.

Manpreet