I’ve made a simple html inquiry form that I’m trying to make functional with php, which is something I have little understanding of.
The php I’m using comes from a tutorial but it only deals with two value inputs: e-mail and message, I’d like to add a third input and want its value to be placed above the message value in the sent email but I’m unsure how to do this, I’ve been playing around with it but to no avail, can someone please help me?
[code=php]
<?php
$email = $_REQUEST[’email’] ;
$message = $_REQUEST[‘message’] ;
mail( “[email protected]”, “Inquiry”,
$message, “From: $email” );
header( “Location: sent.html” );
?>