I am making a website which uses xslt to parse the xml files to xhtml, after some cursing the most things worked out fine, but now im stuck with the contact form.
I just want to make a normal contact form which uses PHP as mailscript. I only have no idea to how to create this.
It's no problem to create the form itself, only what happens after the submit (and how to get error messages or "thank you" messages in the page).
Anybody here has some advice on how to proceed? A tutorial of some pointers would be nice.
Form looks something like this:
Code HTML4Strict:<div id="contact_form"> <form method="post" action="sendmail.php"> <fieldset> <div class="row"> <label>Your name</label> <input name="name" type="text" /> </div> <div class="row"> <label>Your e-mail</label> <input type="text" name="email" /> </div> <div class="row"> <label>Your message</label> <textarea name="message" /> </div> <div class="row"> <input type="submit" value="Send" id="send" /> </div> </fieldset> </form> </div>
If this topic needs to be in the PHP/Html forums, please move it to there.