Results 1 to 2 of 2

Thread: submit form data to same page

  1. #1
    Join Date
    Jan 2010
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default submit form data to same page

    Hi all,

    I'm trying to work out how to take data inputed into a form and then have it arranged as appropriate and displayed on that same page. I know how to build a form etc... just not quite sure how to do this.

    Any help is much appreciated!

    Thanks,

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,162
    Thanks
    263
    Thanked 690 Times in 678 Posts

    Default

    A basic tutorial that introduces forms in PHP should give you enough information to get started.

    You will use the array $_POST and access individual fields by $_POST['fieldname'].

    You can echo them or do anything else you want.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •