Hi there jumjum,
Welcome to the forum :) [
webmasterworld.com ]
$subject = "Order from Blah";
$name = $_POST['name'];
$email = $_POST['email'];
$Blah = $_POST;['blah'];
$Blah2 = $_POST;['blah2'];
I'm surprised as the script works at all, especially with those syntax errors, replace the lines I have bolded with this:-
$Blah = $_POST['blah'];
$Blah2 = $_POST['blah2'];
You'll notice the missing ';' from the first quoted code.
Also with regards to the required & additional parameters read the specifics on php dot net:[
uk.php.net ] This will detail on how to structure the mail function. And use this:[
w3schools.com ] as a guide to see what you need to do, because potentially without correct formatting, you could send an email with all the detail on one single line!
And as a few people have already commented you need to set the form attributes correctly, & make sure that you have the file name typed correctly into the action="" declaration; and make sure that the file extension for any php application is .php or the parser will not react to the <?php?> tags & code within them ;)
And once you get the form & email script functional (localhost testing) make sure that you sanitise the data (strip_tags() around the $_POST['somename'] superglobals) so that any data sent from the user can't be used maliciously.
[EDIT]: Just noticed too that your missing the closing </form> and a submit button, but whether you neglected to post that code or not...
Hope this helps you a little.
Cheers,
MRb