If you want to code, better off learning from the ground up by
Learning how to code compliant HTML markup
then learn how CSS can help with not only styling but some of the more asked about tricks and twists
Then learn about PHP and how it can make your pages more dynamic
Then learn about how MySQL (Databases) with PHP and forms, submissions and to effectively use AJAX for seamless interaction
Then how to use other server based tricks in Apache like URL rewriting, security, etc...
Then frameworks (if your really must)
(Just as a guide for you)