Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP or HTML to call in HTML content

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29634
    russdyer
    Member

    I am not sure how best to word my subject line, so I’m sorry about that. And I’m not even sure if this needs to be done in HTML or PHP. I have a collection of websites that would all contain a "Links" section. I want to create an HTML document that houses all of these links. As an example, call it "links.html" and have it sit in my root directory.

    Is there a way, so that every time I create a "links" HTML file for each site I create that I can create a CALL that will return the information in my ROOT "links.html" into this file, so I don’t have to constantly update all of the pages (instead, just update the ROOT file and then the CALL will return those results)?

    I am not currently using a PHP document, but HTML and would like to know how to accomplish this.

    Thanks,
    Russ

    #79821
    russdyer
    Member

    I guess I just found the answer. Do I just convert the HTML to PHP and create a links.php and call the include from each site? That seems the easiest way.

    #79819
    Rob MacKay
    Participant

    yup sounds like the include is the best way :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.