Results 1 to 8 of 8

Thread: Creating submit form with php

  1. #1
    Join Date
    Feb 2015
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Creating submit form with php

    I am trying my shot at creating a webpage by myself and I wanna create a submit form, with a submit button. I want all the information below to be in the submit form.... Help would be wonderful

    Last Name (last, text)
    First Name (first, text)
    Street Address 1 (street1, text)
    Street Address 2 (street2, text)
    City (city, text)
    State (state, text)
    Zip (zip, text)
    Phone (phone, text)
    Fax (fax, text)
    Email (email, text)
    Verify Email (verify_email, text)
    How did you find us? (marketing, select)
    1. Mailing
    2. Phonebook
    3. Search Engine
    4. Phone Call
    5. Word of mouth
    6. Other
    Type of request (request_type, radio)
    Quote
    Information Request
    Quote/Request (request, textarea)

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    What tutorials have you tried from your research on Google?

    First you will need to create your form markup with HTML, so maybe try a Google search for "form field markup" so you know what form fields you can use.

    You'll also want to look in to processing the form, so try a search phrase for "how to process and submit a form with php".

    You could also search for "hosted form builders" - these are 3rd party services that usually have a WYSIWYG form builder and generate the processing script for you.

    If, when you've tried a few tutorials, you have a specific problem that you need help with, please feel free to post back with a copy of your markup and the processing script that you are using.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Jan 2007
    Location
    Davenport, Iowa
    Posts
    2,385
    Thanks
    100
    Thanked 113 Times in 111 Posts

    Default

    From the list of information you are looking to gather it sounds like you want/need to store your information into a MySQL database. If you want to have something more than a static webpage you will need to set a database up. Your hosting service will have some information on how to set one up. A database is nearly the same as a spreadsheet in how it stores information and will greatly enhance the versatility of your website.
    To choose the lesser of two evils is still to choose evil. My personal site

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Good point James

    If you are thinking of going the database route, you could also look in to using Form Tools http://docs.formtools.org/userdoc2_1...orm_tools_does
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  5. #5
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Beverley, Norton tells me not to go there, because it may be a phishing site.

  6. #6
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    What? The Form Tools website?

    I'm not getting any flags here. It's a legit website - been visiting/using Form Tools on various projects for the last 7 years
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  7. #7
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Well, I got the warning when I clicked on your link. It's probably a Norton-mistake

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I've found that help sites often get flagged as phishing because the examples/demos they show sometimes appear to (a bot) to represent things other than what the primary purpose of the site is about. My site was once blacklisted by one of these rating agencies due to my countless demos that use other folks' pages with a base href tag to show them how to do things and/or prove that something can be done with their page. I complained to the rating agency and was removed from the list. But for about a month I had an 'official' (according to them) phishing site.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Form Wizard add button to submit the form
    By Foundas in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 10-11-2012, 08:55 PM
  2. ASP - form to form submit (cookies?)
    By deltatango5 in forum ASP
    Replies: 1
    Last Post: 09-23-2008, 11:51 AM
  3. submit form with javascript like a form does
    By ahs10 in forum JavaScript
    Replies: 2
    Last Post: 09-02-2008, 07:30 PM
  4. Form action Mailto need to open new page on submit and submit email
    By lstammer in forum Looking for such a script or service
    Replies: 0
    Last Post: 12-06-2007, 05:41 PM
  5. Replies: 1
    Last Post: 04-16-2006, 05:50 PM

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
  •