Hi!
For some reason this code doesn't work on my local server but does work on my hosted site.
Here's the code:
<?php
echo "ID = $id<br>";
printf( "<a href=\"%s?id=%s\">LINK</a> <br>", $_SERVER['PHP_SELF'], 1 );
?>
On my hosted site, $id gets set when clicking on LINK, but on my local machine it doesn't.
I'm running Apache 2 and PHP 4.3.2 locally on winxp pro.
I assume it's a configuration issue, but I don't have a clue.
Any ideas?
Thanks!