I have two php pages. One has a variable called txtUsername, the value of which is set by the user by entering a value in a textbox. Then the user clicks Submit and goes to another page, with txtUsername carrying over. However, when i try to write php code in the 2nd page using txt Username, the program doesn't seem to recognise the variable - i keep getting "Undefined variable: txtUsername in F:\UniServer\www\LoginPage2.php on line 14". How do i get to the data in txtUsername?