Best way to learn any coding language:
Mess around with some mini scripts (For example: turn the page red on a button click, load a page from PHP, small things).
Look up information on W3schools and other sites
Use Jquery! (its the best!)
Look at code from random websites, and look how they managed to get things working.
If you have problems, post a topic here!