Coin Club Website

Discussion in 'US Coins Forum' started by TheMont, Sep 21, 2016.

  1. TheMont

    TheMont Well-Known Member

    I was asked to take over the coin club's website, because I have some knowledge of HTML and CSS. The website was a mess and out-of-date. I cleaned up the code, updated the information, and made the site easier to navigate.

    Here's my problem, I was asked to create a form that members could list, up to ten, coins that they wanted to include in the auction held at the end of the club's meeting. I wrote a form in HTML that looks good, but when I added the submit button at the bottom of the form so it would be emailed to me, it didn't work. Seems I'm a little behind the times, the form I wrote is not cross platform. Seems I need to write the form in php, which I do not know.

    Anyone out there know how to write a form in php so it can be sent to any browser? If you want to help I can send you the code for the form I wrote and the php commands could be added.
     
  2. Avatar

    Guest User Guest



    to hide this ad.
  3. Paul M.

    Paul M. Well-Known Member

  4. TheMont

    TheMont Well-Known Member

    Go to www.abqcc.com the form I'm talking about is labeled "Auction Form" click on it to see the form. The form I'm talking about has 80 fields. The member fills out the form and then when they hit submit it's supposed to be mailed to me. It works in Firefox and Mozilla, but not in Internet Explorer or Edge the two most popular browsers.
     
  5. Dave M

    Dave M Francophiliac

    mailto is a weird way to do that. It assumes the user has a mail client on his machine, and leaves it to the user to send the form. I'd suggest googling for "php mail code" and you will find tons of php routines you can just grab and use for this purpose.
     
  6. TheMont

    TheMont Well-Known Member

  7. -jeffB

    -jeffB Greshams LEO Supporter

    Hmm. PHP has to be set up on the server -- that's not just a different language, but an entirely different skill set from HTML/CSS. Not necessarily tough, but different. Unfortunately, I've never done PHP.
     
  8. SuperDave

    SuperDave Free the Cartwheels!

    For the record, Chrome has more than 50% of the browser market all on its' own. All forms of IE combined (including Edge) are another third :)

    It's infuriating as ever trying to make things work with IE. And ensure it's mobile-friendly also; that represents more than a third of Internet traffic these days. Meaning Safari needs to be on your compatibility radar too. :)
     
  9. Dave M

    Dave M Francophiliac

    Yes. Your generic php mailer code can simply get all of the form fields. It doesn't need to know them by name or be coded for 80 fields, it just loops through, grabs them all, and stuffs them into an email.

    And I'm assuming you have php already, as you have other links that are php

    Edit: In fact, if you want to confirm that you have php on the server, I could whip up the php code for you fairly easily.
     
    Last edited: Sep 21, 2016
  10. TheMont

    TheMont Well-Known Member

    Network Solutions is the host for our website and they were the ones that told me to make the form automatically open an email to myself and attach the form by hitting the submit button the form had to be written in php.
     
  11. desertgem

    desertgem Senior Errer Collecktor Supporter

    Most website hosts have MySql available which works extremely well with php scripts. I have used it extensively in the past. It has a learning curve, but you can build almost any structure, as you may wish to add photos, comments, etc. to the database
     
  12. coinzip

    coinzip Well-Known Member

    Call me 301-697-5006
     
  13. TheMont

    TheMont Well-Known Member

    When and what time would be a good time to call you?
     
Draft saved Draft deleted

Share This Page