I have this code:
<?php if(!isset($_GET['page']) || $_GET['page'] !== "2"){
die();
} ?>
<html>
<head></head>
<body>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<div id='come_to_me'>
I should be on the top of your page
</div>
This isn’t really my code, but gets the point across. I need a URL that, when visited, has the correct GET variables and will move down to the come_to_me div.
http://www.domain.com/example/?page=2#come_to_me
http://www.domain.com/example/#come_to_me?page=2
Neither of these seem to work for me.
I did a quick test and found: