-1

My code is

 <form action = "insert.php" method = "POST">
  <div class="title-block">
         <input type="text" name="rater_full_name" />
         </div>
              <div class="title-block">
         <input type="text" name="rater_company_name" required />
         </div>
     <div class="title-block">
         <input type="text" name="rater_ref" />
         </div>
          <div class="title-para">
        <textarea rows="5" name="rater_suggestion"></textarea>
         </div    <div align="left"><div class="btn-block">
          <input type="hidden" name="PID" value="<?php echo $PID; ?>">        <button type="submit" name="submit" value="submit">Submit Feedback</button>
          
        </div> 
      </form>

It's not storing the variable $PID value, it is storing complete code inside quotations("") Please suggest best way to do so..

Thanks in advance.

1 Answers1

-1

Save the file as .php rather than .html

CTABUYO
  • 662
  • 2
  • 7
  • 27