title: posting search argument to another page's iframe
body: <p>I'm looking to tweak some code on a page i didn't build. I have 2 pages, one contains a value called search name and the other is a page containing an iframe that i'm trying to target. It seems that it was originally set up to work that way and was eventually removed but not fully. I'm trying now to re-implement it.</p>
  
  <p>My problem is, im not sure exactly how to post to an iframe on another page. Would i just be using a form to post to that pages iframe or javascript of some kind? </p>
  
  <p>Page containing search argument:</p>
  
  <pre><code>click here to see:
  ??
  &lt;?=$search_name?&gt;
  ??
  </code></pre>
  
  <p>Page containing my iframe:</p>
  
  <pre><code>&lt;?php
  $search_arguments = "";
  if( $_REQUEST["search"] ) {
  $search_arguments = "?query=" . urlencode($_REQUEST["search"]) . "&amp;search=1";
  }
  ?&gt;
  &lt;iframe src="/script/dostuff.php&lt;?=$search_arguments?&gt;" frameborder="0" scrolling="no"name="search_frame"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>Thank You.</p>