PHP Form Process Help.

Discussion in 'PHP' started by Matt2k6, Dec 12, 2006.

  1. #1
    Hey, I have learned forms upto now. If i had this as the code:

    Name: <?php echo $_POST["name"]?>
    Last Name: Name: <?php echo $_POST["lastname"]?>

    How would i get so if more than one person sent in this information from the form, (code not shown) it would display one after the other?

    Thanks alot.

    Matt
     
    Matt2k6, Dec 12, 2006 IP
  2. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You will need to store the information they have sent into a databse such as mysql, then retrieve all the information and display it.
     
    matthewrobertbell, Dec 12, 2006 IP
  3. Matt2k6

    Matt2k6 Guest

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Right, so i need to learn MySQL?

    Thanks.
     
    Matt2k6, Dec 12, 2006 IP
  4. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #4
    matthewrobertbell, Dec 12, 2006 IP
  5. Matt2k6

    Matt2k6 Guest

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks, ill av a look at that.
     
    Matt2k6, Dec 12, 2006 IP
  6. weknowtheworld

    weknowtheworld Guest

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You can even store the variables in text file or session...

    Well it's the later stage of PHP...

    First you have to decide the importance of the fields in the form..
     
    weknowtheworld, Dec 13, 2006 IP
  7. georgechristodoulou

    georgechristodoulou Active Member

    Messages:
    153
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #7
    I would prefer to store variable in session if I am there.

    THanks
     
    georgechristodoulou, Dec 14, 2006 IP