title: Open my form results in Iframe on another page
body: <p>Hi I have page "A" with small form search for Domains and page "B" with my site design and layouts and one "ifarme" named "domains"</p>
  
  <p>now what I need is when the users search for domains they will see the results in page "B" in the "ifarme" named "domains"</p>
  
  <p>this is the code for page "A"</p>
  
  <pre><code>    &lt;form action="http://www.iwebtool.com/tool/tools/domain_availability/domain_availability.php" method="get" name="pageform" onsubmit="return validate(this);" target="http://hostnile.com/includes/pages/foo.php"&gt;
  
  &lt;input type="text" name="domain" size="30" /&gt; 
  
  &lt;select name="ext"&gt;
  &lt;option&gt;.com&lt;/option&gt;
  &lt;option&gt;.net&lt;/option&gt;
  &lt;option&gt;.org&lt;/option&gt;
  &lt;option&gt;.biz&lt;/option&gt;
  &lt;option&gt;.ca&lt;/option&gt;
  &lt;option&gt;.cc&lt;/option&gt;
  &lt;option&gt;.co&lt;/option&gt;
  &lt;option&gt;.info&lt;/option&gt;
  &lt;option&gt;.me&lt;/option&gt;
  &lt;option&gt;.mobi&lt;/option&gt;
  &lt;option&gt;.us&lt;/option&gt;
  &lt;option&gt;.ws&lt;/option&gt;
  &lt;option&gt;.asia&lt;/option&gt;
  &lt;option&gt;.tv&lt;/option&gt;
  &lt;/select&gt;
  
                      &lt;input type="hidden" name="add" value="5"&gt;
  
                      &lt;input type="submit" value="Check" /&gt;
                      &lt;/form&gt;
                      &lt;/div&gt;
  
      &lt;script language="JavaScript"&gt;
      function validate(theform) {
      if (theform.domain.value == "") { alert("No domain entered"); return false; }
      return true;
      }
      &lt;/script&gt;
  </code></pre>
  
  <p>and page "B" </p>
  
  <p>just has the layout and my "iframe" named domains.</p>
  
  <p><strong>Edit</strong></p>
  
  <pre><code>&lt;form action="http://hostnile.com/includes/pages/foo.php" method="get" name="pageform" onsubmit="return validate(this);"&gt;
  </code></pre>
  
  <p>and the "pageB" with iframe</p>
  
  <pre><code>&lt;iframe src="http://www.iwebtool.com/tool/tools/domain_availability/domain_availability.php?&lt;?php echo 'http://'.$_REQUEST['domain'].$_REQUEST['ext']?&gt;"&gt;&lt;/iframe&gt;
  </code></pre>