title: How to extract a value of an HTML input tag using PHP
body: <p>I know regex isn't popular here, what is the best way to extract a value of an input tag within an HTML form using a php script?</p>
  
  <p>for example:</p>
  
  <p>some divs/tables etc..</p>
  
  <blockquote>
  <pre><code>&lt;form action="blabla.php" method=post&gt;
  
  &lt;input type="text" name="campaign"&gt;  
  &lt;input type="text" name="id" value="this-is-what-i-am-trying-to-extract"&gt;
  
  &lt;/form&gt;
  </code></pre>
  </blockquote>
  
  <p>some divs/tables etc..</p>
  
  <p>Thanks</p>