1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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