It would be recommended, but you could write a fair bit of JavaScript code and get it to do it that way. PHP would be easier than that though. AJAX is also another option to consider, I cannot tell you much more simply because I don't know much more, but it is possible with AJAX. AJAX stands for Asynchronous JavaScript and XML by the way.