Forum Moderators: coopster
http://somepage.com/page.php#link I also need pass data to the next php page, as well as get to the specific location on the page.
http://somepage.com/page.php#link?p=data ^ That doesn't seem to work at all. The next page displays starting at the top, instead of directly at the specific location specified in the url.
Is it possible to pass both pieces of information through the same url?
From [ietf.org...]
<scheme>://<net_loc>/<path>;<params>?<query>#<fragment>
If the parse string contains a crosshatch "#" character, then the substring after the first (left-most) crosshatch "#" and up to the end of the parse string is the <fragment> identifier.
Essentially what you are passing with the reversed order is a request for
https://somepage.com/page.phpand for the browser to jump to the anchor named
link?p=data