I don’t have much to say this week, and I am fully expecting to lose points here. I will comment that I liked the lessons on learn-php.org — everything was straightforward and to the point. Anyway, I guess all I have to ask is: Is PHP to HTML what jQuery is to JavaScript?
To answer your question about the analogy, I don’t think that would work. jQuery is a JavaScript library. JavaScript is a client-side (and sometimes server-side) scripting language. PHP is a server-side scripting language, which has it’s own libraries and frameworks for doing certain tasks with less code. HTML is a markup language. HTML and PHP can be used together, just like HTML and CSS or HTML and JavaScript can be used together. But PHP isn’t a library for HTML. It can generate HTML and content for HTML dynamically, but so can other scripting languages. Does that make sense?