PHP form error PHONE and LASTNAME do not get emailed
Posted: Thu Aug 26, 2004 6:45 pm
I have a php form, the elements: "firstname" and "email" get emailed fine, no problems.but, "phone" and "lastname" do not. can you help me.
this is how it looks:
mail.php
<?
$email = $_REQUEST['email'] ;
$firstname = $_REQUEST['firstname'] ;
$lastname = $_REQUEST['lastname'] ;
$phone = $_REQUEST['phone'] ;
mail( "test@test.com", "Site feedback",
$firstname, $last name, $phone, "From: $email" );
header( "Location: http://www.ewebcart.com/cgi-bin/cart.pl ... 1395&add=1" );
?>
your response would be apreciated.
Dante
this is how it looks:
mail.php
<?
$email = $_REQUEST['email'] ;
$firstname = $_REQUEST['firstname'] ;
$lastname = $_REQUEST['lastname'] ;
$phone = $_REQUEST['phone'] ;
mail( "test@test.com", "Site feedback",
$firstname, $last name, $phone, "From: $email" );
header( "Location: http://www.ewebcart.com/cgi-bin/cart.pl ... 1395&add=1" );
?>
your response would be apreciated.
Dante