title: How do I insert a PHP variable inside of an HTML <a> tag?
body: <p>This is my source code: </p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  &lt;?php
  
  $query = $_REQUEST["search"];
  
  Print "&lt;iframe src="http://www.en.wikipedia.org/wiki/$query"&gt;&lt;/iframe&gt;';
  
  ?&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I want to have it where, when the user types in a term, then it automatically brings them to the Wikipedia page of their query.  I definitely know I'm doing something wrong here, but I can't figure out what.  Thanks for helping!</p>