scottf Posted November 23, 2011 Share Posted November 23, 2011 So first my user enters their name. examplevar username = "Scott" So i want this to carry over to the next page. Right now var username is only accessible on this page. Right now, I start on the index.html, user enters name, on welcome.php it says hi scott, then on account.php I want it to say hi scott again, but it says that the value has not been declared. How can i transfer this variable using the URL or a form or something? By the way, welcome.php redirects to account.php, so it needs to be something automatic. Link to comment Share on other sites More sharing options...
Ingolme Posted November 23, 2011 Share Posted November 23, 2011 Learn about [PHP sessions] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.