How do I edit sitewide links without changing each individual link?

Discussion in 'HTML & Website Design' started by forumSEO, Jun 24, 2007.

Thread Status:
Not open for further replies.
  1. #1
    What is the best way to do it? If I use <php> can I just insert that into my html pages or do I have to change the structure of the page. For example can I do this:

    <html>
    <body>
    <p>hey</p>
    <php>php goes here</php>
    </body>
    </html>

    Thanks, appreciate your help.
     
    forumSEO, Jun 24, 2007 IP
  2. Nefarious

    Nefarious Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use this in html:

    <?php echo "your links"; ?>


    Just insert your php code between the <?php and ?> tags. Including a text file with the links for example.

    Make sure to echo the results.
     
    Nefarious, Jun 24, 2007 IP
  3. forumSEO

    forumSEO Guest

    Messages:
    681
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #3
    what does the echo mean?
     
    forumSEO, Jun 24, 2007 IP
  4. x-noise

    x-noise Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    it means "print it". it's similar with javascript: document.write (which does the same thing).
     
    x-noise, Jun 24, 2007 IP
Thread Status:
Not open for further replies.