title: Input from form to url?
body: <p>So the goal is to take the input from a form append it to the end of the URL and then return the HTML from that page. 
  I am not entirely sure how to take the forms value (in this case $2) and attach it to the URL.</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Metar Test&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
              &lt;form action="" method="POST"&gt;
                  &lt;p&gt;IACO Code: &lt;input type="text" name="$2" value=""&gt;&lt;/p&gt;
                  &lt;input type="submit" name="submit" value="Submit"&gt;
              &lt;/form&gt;
          &lt;?php $html=file_get_contents("http://www.metar.mysite.net/metar?id=$2")?&gt;
          &lt;?php echo $_POST ["$html"];?&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>