1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Help Pls?] Multipage PHP Form

Discussion in 'BlackHat Lounge' started by Earthquake, Dec 4, 2011.

  1. Earthquake

    Earthquake Newbie

    Joined:
    Mar 10, 2009
    Messages:
    31
    Likes Received:
    16
    I can submit the first page of info to my database and move to the next page

    The next page enters the info into a new column in the database

    I want the second page data to be entered into the same column as the information from the first page.

    Can anyone point me in the right direction?

    Thanks.
     
  2. razzlecore

    razzlecore Registered Member

    Joined:
    Dec 12, 2010
    Messages:
    90
    Likes Received:
    27
    Location:
    -
    I would do it this way:

    Post the results of page one into hidden input field on page two. Than you can put all data in one record with one SQL Query.
     
    • Thanks Thanks x 1
  3. hameem

    hameem Elite Member

    Joined:
    Jul 21, 2011
    Messages:
    1,880
    Likes Received:
    985
    Location:
    221B Baker Street
    Add me up on skype. I'll work with you tomorrow to sort this out.

    By the way, in relatioal database data doesn't get inserted in columns. Data is inserted in rows of the tables. I think you meant rows.
     
    • Thanks Thanks x 1
  4. Earthquake

    Earthquake Newbie

    Joined:
    Mar 10, 2009
    Messages:
    31
    Likes Received:
    16
    yea i meant rows. my fault. ill get at you on skype tomorrow. appreciate the offer

    thanks a lot buddy
     
  5. mutatedllama

    mutatedllama Regular Member

    Joined:
    Feb 8, 2011
    Messages:
    445
    Likes Received:
    462
    What this guy said :)

    For future reference, there is a PHP/Scripting subforum for this kind of thing!
     
    • Thanks Thanks x 1
  6. Earthquake

    Earthquake Newbie

    Joined:
    Mar 10, 2009
    Messages:
    31
    Likes Received:
    16
    hey i was actually searching for the programming forum

    i found it

    thanks :]
     
    • Thanks Thanks x 1