So I wish to work with #hash links..
As I cannot manipulate the history links, if HTML5 isnt supported I wish to add #photoid=12345 to the link (example).
Now how can i check in PHP if there is any in #photoid ? I cant do normally
if(isset($_GET[“photoid”])))
so what should i do here to detect where anything is in #photoid?
You’ll need JavaScript for that:
Edit: you can then call on a php script and use this information. Example in jQuery:
And “do_something.php” could look like this: