1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Passing hidden variables using the get method

Discussion in 'PHP' started by david_sakh, Jan 9, 2005.

  1. #1
    when a user clicks a certain link, I want the page to reload with a new variable value. I couldn't find an adequate tutorial to explain this, so if anyones understands how to do this, please help me. Thanks.
    SEMrush
     
    david_sakh, Jan 9, 2005 IP
    SEMrush
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,283
    Likes Received:
    2,599
    Best Answers:
    460
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    You would need to use a POST or a session variable if you want the variable to be hidden from the URL.
     
    digitalpoint, Jan 9, 2005 IP
  3. david_sakh

    david_sakh Peon

    Messages:
    1,225
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #3
    oh, well that's not important.

    I thought "hidden" meant simply not sumbitted via a traditional form with input fields. my bad.
     
    david_sakh, Jan 9, 2005 IP
  4. dejaone

    dejaone Well-Known Member

    Messages:
    992
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    143
    #4
    <input type=hidden name=hv value=v>
     
    dejaone, Jan 9, 2005 IP
  5. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #5
    why put this thread in your sig david?
     
    exam, Jan 9, 2005 IP
  6. david_sakh

    david_sakh Peon

    Messages:
    1,225
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #6
    just wanted to ensure quick help. I'm abandoning the old site in my sig for something more lucrative and dooable. No reason to link to that anymore. :)

    Thanks for the tip, but as I'm unsure about the syntax of everything, ill be back and post again if i need mroe help.
     
    david_sakh, Jan 9, 2005 IP