So I wanted to add some anchors to navigate around my PHP page. The only problem is I have some variables being passed to the page through the POST method so when the link is pressed the PHP thinks the anchor variable is just a part of some of the POST data i am sending.

Web page is index.php?cs=blah so with the link clicked it would be index.php?cs=blah#anchor

Anybody have any idea how to work around this?

    hmm... if you're using a link, it isnt POST data, it is GET data.

    I'm not too clear on what you are trying to say, can you provide an example?

      i think he means that he's getting the #blah bit in his GET variable.

        Write a Reply...