title: PHP form not displaying feedback
body: <p>I'm making a process form in PHP and I'm trying to display the feedback but it's not wanting to show. The code that I have is: </p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;style type="text/css"&gt;
              .error{color: #FF0000;}
          &lt;/style&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;h1&gt;Customer Feedback&lt;/h1&gt;
          &lt;p1&gt;Please tell us what you think&lt;/p1&gt;&lt;br&gt;&lt;br&gt;
  
          &lt;?PHP
              $name = trim($_POST[fullname]);
              $email = trim($_POST[email]);
              $text = trim($_POST[feedback]);
          ?&gt;
  
          &lt;form method='POST' action='&lt;?php echo htmlspecialchars($_SERVER['PHP_SELF']);?&gt;' &gt;
              &lt;p1&gt;Your name:&lt;/p1&gt;&lt;br&gt;
              &lt;input type="text" name="fullname" value="&lt;?php echo $fullname; ?&gt;" required&gt;&lt;br&gt;&lt;br&gt;
              &lt;p1&gt;Your email address:&lt;/p1&gt;&lt;br&gt;
              &lt;input type="text" name="email" value="&lt;?php echo $email; ?&gt;" required&gt;&lt;br&gt;&lt;br&gt;
              &lt;p1&gt;Your feedback:&lt;/p1&gt;&lt;br&gt;
              &lt;textarea rows="5"  cols="50" name="feedback"&gt;&lt;?php echo nl2br($text);?&gt;&lt;/textarea&gt;
              &lt;textarea&gt;&lt;?php echo $text;?&gt;&lt;/textarea&gt;&lt;br&gt;&lt;br&gt;
              &lt;input type="submit" Value="Send Feedback"&gt;&lt;br&gt;&lt;br&gt;
          &lt;/form&gt; 
  
          &lt;?php
              if(isset($_POST[fullname]) &amp;&amp; $_POST[fullname] != "" &amp;&amp; !empty($_POST[fullname])) {
                  echo "Hi " . $name . ".&lt;br&gt;";
              }
              else{
                  echo "Please enter a name....";
              }
  
              if(isset($_POST[email]) &amp;&amp; $_POST[email] != "" &amp;&amp; !empty($_POST[email]) {
                  echo "Your email is " . $email . ".&lt;br&gt;";   
              }
              else{
                  echo "Please enter a email address.";
              }
  
              if(isset($_POST[feedback]) &amp;&amp; $_POST[feedback] != "") {
                  echo "Your feedback is:" . $feedback . "&lt;br&gt;";
              }
              else{
                  echo "No feedback.";
              }
          ?&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I run the page, it shows the name, email and 'Your feedback is: ' but not the feedback that was entered into the textarea. </p>
  
  <p><strong>EDIT</strong> 
  I want to use the nl2br() function round the text box.</p>