MySQL_Narb Posted October 15, 2009 Share Posted October 15, 2009 I found my error. Quote Link to comment Share on other sites More sharing options...
taquitosensei Posted October 15, 2009 Share Posted October 15, 2009 not sure what you're trying accomplish here and this won't work because you have two request variables named "name" but this is kind of how you would do this <form action="profiles.php" method="get"> <input type="hidden" name="username" value="<?php echo $name; ?>"> <input type="text" name="name"> <input type="submit" name="submit_name"> </form> then to echo on profiles.php if(isset($_POST['submit'])) { $name=$_POST['name'] echo "This is a profile of"; echo $name; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.