You can get proficient in that combination in a few months as long as you have a real project and plenty of applicable examples. You get good a programming by programming and studying the work of good programmers.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
Great wit and madness are near allied, and fine a line their bounds divide.
A few classes (or books if that's not practical) on general programming concepts and database theory and practice could carry you a long way in the programming end of things. Once you have a good grounding in the basics, picking up the specifics of a particular programming language is simply a matter of learning its particular syntax and built-in functions.
As far as HTML/CSS, however you go about learning them, try to simultaneously read the applicable sections of the specifications (HTML and CSS), as they are the ultimate references, and learning to use them can save you a lot of confusion amid the varying and contradictory instructions you'll find on the web.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
I'm still very much a student at all of this, but my advice:
Also, I'm going to tell you something that my college adviser told me when I started that would have saved me a lot of stress while I was studying all of it by myself: "Don't focus so much on remembering the code. You'll never be able to remember all of it, and besides that, you'll always have reference material to look through when you're writing programs or web pages, whether it be reference books or references on the web." When I first started studying HTML, I thought it was all about memorizing HTML markup code. I won't hide the fact that I never got that far with it when I had that train of thought
All of it might seem very intimidating at first (when I started, I was ready to wet my pants), but stick with it. If you have the patience and continue studying, it'll soon be like all of it makes perfect sense