I have page1.php where I want to monitor the number of people who click through to page2.php. When they get to page2.php, I have a couple of snippets of code. These look like this:
<?php $id=2; include('/home/mysite/public_html/abc/toer.php');?>
This registers some data into a mysql database.
After this happens, they are to be immediately redirected to mysite2.php.
What would the code look like on page2.php?
Thanks,
Jon