hassan Posted August 7, 2015 Share Posted August 7, 2015 Hi I wanted to ask why in chapter three the content div is split between the header and footer. Why do we not simply write that div in the content chunk of the php page? Thanks in advance Link to comment Share on other sites More sharing options...
chop Posted August 7, 2015 Share Posted August 7, 2015 I'm not sure if you've gotten to the page which explains ho to use "includes" but I think when you do you'll understand why the footer is separate. You will use "includes" a lot in your programming for information that appears on multiple pages. This way you don't have to edit many pages if you want to change it. Larry's books often answer your questions -within a few pages- after they make you think of them. It's sometimes good to hang on to them for a while and you'll soon see that the mystery is resolved. That's part of what makes learning exciting and what makes for good teaching. Glad you've come back to this subject and to hear you're excited about it. 1 Link to comment Share on other sites More sharing options...
hassan Posted August 20, 2015 Author Share Posted August 20, 2015 Thanks :-) Link to comment Share on other sites More sharing options...
Recommended Posts