Question:
How do you make certain part of your site update at the same time with out changing each page one at a time.?
Chris J
2010-07-18 12:45:50 UTC
I am in the process of making a free self computer help site and hope to eventually have hundreds of different pages with all kinds of different content. I am pretty familiar with dreamweaver. I have a couple sections of the page ex. Site News, Recent Posts, and a Categories section, my problem is that It takes a lot of time to go through every page and update each one individually, even if I am copying and pasting it still takes up more time then I would like. Is there a way to put some kind of html code in this section and then when I update one, it will update all the others???
Four answers:
2010-07-18 12:51:48 UTC
Create a template using PHP. Then, use that template for each page, that way you will only have to update the template once and it will apply to all webpages that use it.
2010-07-18 12:53:29 UTC
Not HTML, PHP. Use that to create the pages, and include the part you want to be the same on each page. (You'll have to learn programming to do that, though - and PHP itself, which is fairly trivial once you know programming.) HTML just *is* it doesn't *do*. It's content, not programming.
plumb
2016-12-08 16:27:48 UTC
of course this is intense-high quality to have an identical factors of view notwithstanding this is incredibly boring too. My husband and that i are the two Catholic which makes us the two Christian simply by fact we've faith in Christ :) we are catechists (teach 8th grade), component of a toddlers team, my hunny, he's component of the ACTS community and we are those that love having relaxing. possibly i'm somewhat perplexed, you reported that there your spouse does not like your way of lifestyles are you able to further clarify? of course we are all unique needless to say persons. There are merely 10 little regulations that we Christians attempt to persist with. you would be responsive to them. we're not against having a reliable time yet what do you advise you desire to stay on the dark element of issues in lifestyles? i bypass to desire for you this night which you and your spouse discover some worry-loose floor. i'm assuming you like your spouse and which you quite desire to discover some thing worry-loose so which you will get exhilaration from one yet another greater. you realize... the greater I examine the bible the greater I understand that I certainly have an criminal accountability ;) to my husband... i think of my husband is taking finished great factor approximately that too :) and that i merely could upload that we get exhilaration from lifestyles to the fullest going to events having some beverages (i had some this weekend)
jjjrmy
2010-07-18 13:02:09 UTC
Use PHP include();


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...