title: Making a sticky form in PHP with HTML
body: <p>I'm trying to generate a sticky form in PHP and it's not working. The code that I have is:</p>
  
  <pre><code>&lt;html&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;form method='POST' action='&lt;?php echo $_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;"&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="php echo $email;"&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 $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;?php
              error_reporting(E_ALL);
  
  
              $name = $_POST['fullname'];
              $email = $_POST['email'];
              $feed = $_POST['feedback'];
  
              if (empty($name)) 
              {
                  echo "Please enter your name.";
              }
              if (empty($email)) 
              {
                  echo "Please enter your email and feedback.";
              }
              if (empty($feed))
              {
                  echo "Please enter feedback.";
              }
              if (!empty($name) &amp;&amp; !empty($email) &amp;&amp; !empty($feed))
              {
                  echo "You have inserted the correct data";
              }
          ?&gt;
      &lt;/form&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I run the code, the email text box is already full with <code>php echo $email;</code> and it's not wanting to keep the text boxes full when I'm pressing the Send Feedback button. </p>
  
  <p><strong>Edit</strong>
  I've put the tags round the input value on the email line and the form carries on emptying when I press the 'Submit Feedback' button.</p>