[snip] test.html code------------ <html> <head> <title>Untitled</title> </head> <body> </body> <a href="test.php?user=admin&pass=123456">Click here</a> </html>
test.php code------------ <?php $username = user; $password = pass; echo $username; echo $password; ?> [/snip] $user will be 'admin' $pass will be '123456' You made an attempt to change the variable names, so you should have done this; <?php $username = $user; //note the variable designation $password = $pass; //note the variable designation echo $username; echo $password; ?> HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php