madnhate
10-19-2011, 07:42 AM
I just started out learning PHP which means I barely know what or how to code with it. I read about how to use it a while ago but only was on in the beginning haven't exactly advanced. Yesterday I started playing around with wordpress. I don't know if this has anything to do with wordpress structure or is it similiar. Does PHP break down the website into certain sections like wordpress? Or is that way off? Like I noticed there is a php file for the "head" of the page "index" or the "main"(body) of the page, footer, sidebar. I was wondering if it breaks down the webpage into parts?
If so does that mean the navigation is also on it's own php file? and basically each part of the website? And in that case if I just want to add a page would I have to make just a php file with the content and the rest will be reused(the actual web layout) or is this unique to wordpress?
I can see this being super helpful. If I don't have to make a new document for each page.(but I guess you would? but instead a new php file?)
Is it hard to learn PHP? What are some good resources on the web or books?(Do the books/websites get updated?)
If so does that mean the navigation is also on it's own php file? and basically each part of the website? And in that case if I just want to add a page would I have to make just a php file with the content and the rest will be reused(the actual web layout) or is this unique to wordpress?
I can see this being super helpful. If I don't have to make a new document for each page.(but I guess you would? but instead a new php file?)
Is it hard to learn PHP? What are some good resources on the web or books?(Do the books/websites get updated?)