how i include a table in multiple sites?

Discussion in 'HTML & Website Design' started by sooraj1, Apr 9, 2011.

  1. #1
    Hello

    I have multiple of websites. I want to include an html table in every footer of those sites. The table code is in a file located on another site.
    All sites are php.

    I want this so that I can modify the table from one file instead of having to modify it mutiple times.

    Is that possible ? And how can I do it ?

    Give any best idea which is helpful for me.


    Thank you.

    Regards
     
    sooraj1, Apr 9, 2011 IP
  2. sooraj1

    sooraj1 Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have put the table code in a file datalinks.inc

    Then I used the following function:

    <?php include("datalinks.inc"); ?>

    in every site's footer.

    when i do that its not work and i did not know what to do.

    what would i do now?

    help me
     
    sooraj1, Apr 9, 2011 IP
  3. chandan123

    chandan123 Prominent Member

    Messages:
    11,586
    Likes Received:
    578
    Best Answers:
    0
    Trophy Points:
    360
    #3
    try to use absolute path of that footer file in including
     
    chandan123, Apr 9, 2011 IP
  4. sooraj1

    sooraj1 Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    And what is the absolute path in your mind please share it.
    I don't understand what you want to say or try to telling me
     
    sooraj1, Apr 11, 2011 IP