I would prefer PHP with a pinch of java-script(to make it user friendly)..

Resources :-

PHP
Javascript