Hello.
I started PHP Programming two days ago!
When I send some variables to a diffrent page by GET method like this:
localhost/b.php?user="Peter"
in b.php page the variabe "user" is not defined.
Can somebody help me?
Problem with sending variables to a diffrent page.
Moderator: General Moderators
Re: Problem with sending variables to a diffrent page.
You need to use the super global array $_GET. So do instead. http://us.php.net/manual/en/language.va ... lobals.php
Code: Select all
<?php echo $_GET['user']; ?>