You need to use the $_GET[''] variable like you use the $_POST variable
btw the syntax for the url is incorrect in that way.
The PHP part would look like thisCode:This would be correct http://domain.com/index.php&id=about
PHP Code:$myvar = $_GET['id'];
echo $myvar;
//If you use the example URL above, the output would be "about"




Reply With Quote