I have a php contact form which I developed from this forum, the form gets a customers name, email and contact number from a website however, I'm getting several errors saying; undefined index name on line 34, the same error is present for a number of other variables also, I'm wondering if I could have some help resolving this issue?
<?php
    $name = $_POST['name'];
    $email = $_POST['email'];
    $Contact_Number = $_POST['contact number'];
    $from='From:Client';
    $to='reece@designthink.co.uk';
    $subject='Claremont Holding Page Enquiry';
    $body = "From: $name\n E-Mail: $email\n Contact Number:\n $Contact_Number";
if($_POST['submit'])
{
    if(mail($to, $subject,$body,$from))
    {
        echo '<p>Message sent!</p>';
    }
    else
    {
        echo '<p> something went wrong, please try again!</p>';
    }
}
?>
<form method = "post" action ="Index.php">
<label> name </label>
<input name="Name" placeholder="Type Here">
<label> email </label>
<input name="email" placeholder="Type Here">
<label> contact number </label>
<input name="Contact Number" placeholder="Type Here">
 <input id="submit" name="submit" type="submit" value="submit">
</form>
 
    