Hi, I bought some CSS coding, the coders have left the email form as : <form method="post" action="/"> <fieldset class="contact"> <label for="name">Name</label> <input type="text" class="text" id="name" /> <label for="email">E-mail Address</label> <input type="text" class="text" id="email" /> <label for="company">Company Name/Website</label> <input type="text" class="text" id="company" /> <label for="turnaround">When do you need the logo by?</label> <input type="text" class="text" id="turnaround" /> <label for="budget">Approximate Budget (£)</label> <input type="text" class="text" id="budget" /> <label for="desc">Extra Details? <span>- Not about the logo, but about your order.</span></label> <textarea id="desc" rows="10" cols="50"></textarea> <button type="submit" class="submit">Submit</button> </fieldset> </form> PHP: How can I turn this into a form that works? +reps will be given away! Thanks!
You miss the http:// at action="/"> But hey i'm no expert <form method=POST action=hxxp://www.yoursite.com/yourform.php>
But how will it know where to email me? Where do I specify the email to send it to? Thanks anyway, +rep
in order to make your form active you have to generate a PHP script with the form values. then use the <form method=POST action=hxxp://www.yoursite.com/yourform.php> in the body of the file where you want to be displayed. best advice go to google type PHP Forms
That's easy: http://www.web4future.com/easiest-form2mail.htm In your php file insert the url of your form2mail.php file as i told you above. You also need to edit the form2mail file to your email address and some tweaks. If you need a helping hand to customize it for you, let me know. Recap: Get form to mail Edit form2mail to your needs (email) edit php file to <form method=POST action=hxxp://www.yoursite.com/form2mail.php> Upload and test!