Jump to content

Undefined Index...?


ywaters

Recommended Posts

I have a small html form that I would like to use to gather data from. The code is

 

 

<?php

$Name = $_POST['Name'];
$Email = $_POST['Email'];
$Telephone = $_POST['Telephone'];
$Message = $_POST['Message'];
$to = "[email protected]";
$subject = "New Message";

mail ($to, $subject, $Message, "From: ". $Name);
echo "Your message has been sent";

 

?>

 

I have no idea where the error is I keep getting. Can anyone help me out, please? Thank you for your help!!

Link to comment
https://forums.phpfreaks.com/topic/286291-undefined-index/
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.