How to make link?

Discussion in 'PHP' started by KingCobra, Jan 31, 2011.

  1. #1
    http://cultural-ecology.com

    Tha site is almost static.
    In the home page there is a country list like USA, Hawaii, etc.

    I want to link each country to specific country of the following page

    http://cultural-ecology.com/ice.php

    That means if I click on USA from homepage then it will go USA page of ice.php

    PLEASE see source code, you may also save the page and HELP ME to doing this.

    THANKS IN ADVANCE
     
    KingCobra, Jan 31, 2011 IP
  2. FriendSwapMeet.com

    FriendSwapMeet.com Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    looks to be javascript not php
     
    FriendSwapMeet.com, Jan 31, 2011 IP
  3. KingCobra

    KingCobra Well-Known Member

    Messages:
    289
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    KingCobra, Feb 1, 2011 IP
  4. vickey88

    vickey88 Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Making a link, is one of the most important things to know, when you build your website. Even, if your web site only has one page, it's still important to know how to make a link. If cannot make a link, it will be hard to link to other websites...

    First, you must have something that can hold your links. This is mostly some line of text, like 'Click here' or an image of some sort, also called anchors that contains the link. See the following example,

    <A HREF="http://www.howtomakelinks.com/index.html">How To Make Links</A>
     
    vickey88, Feb 1, 2011 IP
  5. charlessayer

    charlessayer Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5


    Ya Vickey88
    this is the good answer
     
    charlessayer, Feb 2, 2011 IP
  6. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #6
    @KingCobra, do you mean that you wish different page to be displayed if user clicks on USA / Hawaii / Nepal / India?
    And it seems you also need to redirect same visitor to his previous selected country page next time when he visits website, is it so?
     
    mastermunj, Feb 2, 2011 IP