Jump to content

request a list box


ilikephp

Recommended Posts

Hello,

 

I am using the send mail form, everything is sent to my mail except the country field, it is sending blank.

 

$name = $_REQUEST['name'] ; 
$phone = $_REQUEST['phone'] ; 
$email = $_REQUEST['email'] ; 
$country = $_REQUEST['country'] ; 
$message = $_REQUEST['message'] ; 

$headers = "From: $email"; 
$sent = mail( $to, $subject, $name."\n".$phone."\n".$email."\n".$country."\n".$message, $headers);

 

How could it be fixed plz?

 

Thx

Link to comment
https://forums.phpfreaks.com/topic/249769-request-a-list-box/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.