I advice you to learn two languages...one being a clientside language and the other being the severside language.
For the clientside language, I recommend Javascript.
For the severside language, I recommend PHP.
The reason why I recommend learning two languages is because in a common scenario you would want a user to submit a form. You could use Javascript to check that the form is complete, before you make a request to the sever to process the form.