I want to have an anchor link with a target of the same page, but with a $_GET query string AND a reference to an internal #link. That is, I want to refresh the page (for pagination) and return it to the appropriate place on the page, which is several scrolls from the top. When I try to do this like:
Code: Select all
<a href='index.php#comments?start=10'>Next</a>
it ignores the internal link. When I try this
Code: Select all
<a href='index.php?start=10#comments'>Next</a>
it gets totally lost!
But this works just fine, except of course it contains no $_GET data:
Code: Select all
<a href='index.php#comments'>Next</a>
I haven't found anything useful by searching the web.