title: email form adding a phone number
body: <p>I have this form on my contact page:</p>
  
  <pre><code>    &lt;?php
  if (isset($_REQUEST['email']))
  //if "email" is filled out, send email
    {
    //send email
    $name = $_REQUEST['name'] ;
    $email = $_REQUEST['email'] ;
    $phone = $_REQUEST['phone'] ;
    $message = $_REQUEST['message'] ;
    mail("contact@*****.com", $name, 
    $message, "From:" . $email);
    echo "Thank you for using our mail form. &lt;br&gt;&lt;br&gt;We will get back to you within 48 hours.";
    }
  else
  //if "email" is not filled out, display the form
    {
    echo "&lt;br&gt;&lt;form method='post' action='enquiry.php' align='center'&gt;
    &lt;strong&gt;Name: &lt;/strong&gt;&lt;input class='textbox' name='name' type='text'&gt;&lt;br&gt;&lt;br&gt;
    &lt;strong&gt;Email: &lt;/strong&gt;&lt;input class='textbox' name='email' type='text'&gt;&lt;br&gt;&lt;br&gt;
    &lt;strong&gt;Phone: &lt;/strong&gt;&lt;input class='textbox' name='phone' type='text'&gt;&lt;br&gt;&lt;br&gt;
    &lt;strong&gt;Message: &lt;/strong&gt;&lt;br&gt;
    &lt;textarea class='textbox' name='message' rows='15' cols='40'&gt;
    &lt;/textarea&gt;&lt;br&gt;
    &lt;input type='submit'&gt;&lt;br&gt;&lt;br&gt;
    &lt;/form&gt;";
    }
  ?&gt;
  </code></pre>
  
  <p>which sends me an email when someone submits the form. </p>
  
  <p>but when I try to add <code>$phone</code> to my email code. it fails to send the mail to me. </p>
  
  <p>please can someone advise me on where I can add this? thank you. </p>