I'd use google forms, which puts results into a spreadsheet which could be shared and then you can do manipulation on those sheets with scripts autocrat, doctopus, formmule and flubaroo todo various personalised document creation and sends, personalised copies or make grading depending on what the form use is.
autocrat is like an updated mailmerge to someones email, youpd
There's some other great vids on youpd.org for the other scripts and probably more I don't know about.
It also has benefit of not having the hassle of creating / maintaining your own web server and web app.
Can you create your own template for Google forms ?
Try the code in PHP: mail - Manual example 1 - with your own e-mail to make sure that it's not an issue within the php page.
What do you mean by template? you can choose from a number of different input types text, number, multiple choice, slider. Don't think you can change the layout of the forms
Thanks for all of your help, I managed to get it working by installing and configuring send mail, i know have the form mailing to an email address but it comes through as plain text. I have tried using the sample code here Sending Nice HTML Email with PHP | CSS-Tricks which works but the moment i try to add an image into the table or copy the form design out of dreamweaver the insert.php seems to fail. does anyone have any guide on how to get the email to look the same as the form ?
I am Running a insert.php file which processes the form and emails it and submits it to a sql database. I am trying to insert a html table into the script which i have working so far but when i try to use the align="center" the script stops working. any ideas?
If you're using " within the script you'll need to escape them, else it thinks you're ending it. Think it's \ for php, so align=\"center\" etc.
or if you're using echo it can be eitherorQuote:
echo "colour = 'blue' ";
echo 'colour = "blue" ';
Hi, I now have the form and the email working as i want it. I just have one issue, When a user enters any special character into the text box e.g. <> ' the script fails giving me a check syntax error. I know i need to put validation onto the form. I have seen this piece of code
<form id="form1" name="form1" method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>
How would i go about getting the form to validate and then send the email which is sent by using my Insert.php Script.