Taking a text field and moving info to the next page

Discussion in 'Programming' started by Riboflavin, Dec 15, 2005.

  1. #1
    Ok, one my main page I want to have a text box that says "Enter Desired User name here" or something, then when you submit, it brings you to signup.php and the text box for user is already filled in, any ideas on how to do this?
     
    Riboflavin, Dec 15, 2005 IP
  2. PinoyIto

    PinoyIto Notable Member

    Messages:
    5,863
    Likes Received:
    170
    Best Answers:
    0
    Trophy Points:
    260
    #2
    try this

    in your mainpage

    <form method="post" action="signup.php">
    <input type="text" name ="username" size= 14>
    <input type ="submit" name = "submit" value ="submit">
    </form>

    then on your submit.php include the following code

    Hope it helps
     
    PinoyIto, Dec 15, 2005 IP