How do I show information submitted?

Discussion in 'PHP' started by wvccboy, Sep 22, 2007.

  1. #1
    Hey

    I want to create a PHP form where someone submits the data, then on the next page it shows them the information they have submitted for confirmation.

    Anyone have a script that will do this to save me some time?

    Thanks
     
    wvccboy, Sep 22, 2007 IP
  2. petronel

    petronel Peon

    Messages:
    113
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    the information submited is stored inside $_POST or $_GET variables, depending on what form method did you used
     
    petronel, Sep 22, 2007 IP
  3. wvccboy

    wvccboy Notable Member

    Messages:
    2,632
    Likes Received:
    81
    Best Answers:
    1
    Trophy Points:
    250
    #3
    Probably use $_GET. So on the reload page I would basically put $_get then and it'll show me the data?
     
    wvccboy, Sep 22, 2007 IP
  4. petronel

    petronel Peon

    Messages:
    113
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    
    echo "<pre>";
    print_r($_GET);
    echo "</pre>";
    
    PHP:
     
    petronel, Sep 22, 2007 IP
  5. tarponkeith

    tarponkeith Well-Known Member

    Messages:
    4,758
    Likes Received:
    279
    Best Answers:
    0
    Trophy Points:
    180
    #5
    tarponkeith, Sep 22, 2007 IP