I've been learning PHP and JavaScript as I've been writing this site. PHP is so similar to C/C++ that if you've got any experience with them you should be able to have a bash. The only note of caution that I should mention is that although it's easy to use, it's also easy to write insecure code too.
Below is the list of code snippets that I've written: