http://www.mypage.com/test.php?12345
How can read i add this 12345 Id to every link on my page.
I understand the if url would be test.php?id=12345
this would work
<?
$var = $_GET[id];
?>
nextpage.php?id=<?php echo "$var"; ?>">click here</a>
BUT WHAT IF there is no test.php?id=12345
but only test.php?12345
How can i read the variable and add it to every link?????
Thanks for any help