This entirely depends on how you’ve set your page up, but just as with any HTML page you should be able to refer to:
page.php#anchor
Where anchor
refers to an id within the page.
Note the lack of /
before the #
solved Referring to an id from url on a php page [closed]