I have a job interview coming up and in job description it states I need to be able to write JavaScript and PHP coding. Now its been a while since I did JavaScript and PHP coding. I am planning to use w3schools to be able to start of with the basics. 

But my question is what is the best way on learning these web programming languages? Is it through books or through the web? If anyone know any sites which gan be helpful to learn or to be able to take tutorials in then please can you give me some links to check out?