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.
You don't need PHP to send email. Check out this link:http://www.w3schools.com/html/tryit.asp?filename=tryhtml_form_mail
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.
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.
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.
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.
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.
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.
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