# Anchor Points with PHP File

**URL:** https://forum.kirupa.com/t/anchor-points-with-php-file/192862
**Category:** web dev
**Created:** [July 2, 2006, 3:32am UTC](https://forum.kirupa.com/t/anchor-points-with-php-file/192862 "2006-07-02T03:32:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)
#### Post date: [July 2, 2006, 3:32am UTC](https://forum.kirupa.com/t/anchor-points-with-php-file/192862/1 "2006-07-02T03:32:27Z")

</div>

How do you make an anchor point link with a PHP file that already has variables in the URL? I tried this, but the link didn’t retain the variable values.

website.php#anchorName?varName=value
