using parameter passing and anchor
I am very new to PHP and I ran into a problem and I don't know how to solve... I want to pass in the anchor id and the parameter value to the next page through the URL, but I can't figure out the way to do it, and I am not sure if it is even doable
the second page doesn't receive the $_GET['name'] variable, if i print the value, it prints nothing.
<?php print $_GET['name']; ?>
I am thinking the reason may be the anchor tag, and php interpreter interprets everything after the # is the id of the anchor. Is there anyway to escape the anchor in front of the '?'? Thanks.
The anchor should come last, after the URL query string:
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)