# PHP: pass variables from static link

**URL:** https://forum.kirupa.com/t/php-pass-variables-from-static-link/236916
**Category:** programming
**Created:** [August 24, 2007, 9:32pm UTC](https://forum.kirupa.com/t/php-pass-variables-from-static-link/236916 "2007-08-24T21:32:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ademo](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@ademo](https://forum.kirupa.com/u/ademo)
#### Post date: [August 24, 2007, 9:32pm UTC](https://forum.kirupa.com/t/php-pass-variables-from-static-link/236916/1 "2007-08-24T21:32:44Z")

</div>

I’m sure this is probably very simple, but beyond my very limited PHP skills, so any help would be appreciated. I’m trying to do the following:

1. I have several links on page1.php
2. each link will load page2.php
3. page2.php will load a specific include file, which was specified from each individual link on page1.php (i.e. include1.php, include2.php, etc.)

Hope this makes sense. Thanks in advance!
