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:
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)