I am in the process of building a website using Dreamweaver, I am having problems with the form Working, I have created the HTML element and placed it within a table, I have also created a Php file to process the form and it just won't work. All I want is a basic form with the following fields: First name, last name, email address, Telephone number, comments box and submit button, can anyone help with the coding or point me in the right direction please as I am ready to self combust grrrrrrrrrr!!!
To add to coderunner's advice, did you realise that you cannot test php in your browser like you can html? You have to run the php on a server. You can set up a local server, I use WAMP. It is free, easy to install, and works faultlessly. Anyway, apologies if you already knew about this.
yeah, also, if you mail the form to say, gmail, using a php script and you are using your own computer as the server, I have apache2, without a verifiable domain, then gmail will not accept your mail, and it will bounce.
This is because it comes from your computer. Even it you have a field 'Sender email', the sender of your email is your php script on your computer. gmail won't like this, as it looks like spam, and you will not recieve any mail. I can easily send mail to myself@mycomputer using a php script, but not to gmail. This is a bit of /var/log/mail