Passing Values from Child and rebuilding Parent page using child page input
<p>I am calling child page and posting the form. Trying to refresh and rebuild the parent page based on value entered in child page. I am not able to see the child posted values in Parent page.</p>

<p>Expecting value $_POST['test_2'] populated when child is submitted from Parent page. 
I don't see the value posted by child page in parent page. See the code example below.
Thanks for your help..
Advice me if there are any other better way to access the value submitted by child page and rebuilding the parent page using those child page values.</p>

<p>Parent Page is : Example1Parent.php</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;body&gt;
&lt;h1&gt; Welcome Parent &lt;/h1&gt;
&lt;div id="dateDiv"&gt;&lt;/div&gt;
&lt;form method=post action='' name=f1&gt;
&lt;table border=0 cellpadding=0 cellspacing=0 width=550&gt;
&lt;tr&gt;
&lt;td &gt;&lt;font size=2 face='Verdana'&gt;Refresh upon Search&lt;/font&gt;
&lt;input type=hidden name='p_name2' id=n2 size='8'&gt; 
&lt;input type=button 
onClick=window.open("Example1Child.php","Ratting","width=550,height=170,left=150,top=200,toolbar=0,status=0,"); value="Advanced Search"&gt;
&lt;?php
echo '&lt;br&gt; Welcome ';
if (!isset($_POST['test_2'])) echo "&lt;br&gt; t_test2 : it does not exists! ";
?&gt;
&lt;/td&gt;&lt;/tr&gt; 
&lt;/table&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Child Page is :Example1Child.php</p>

<pre><code> &lt;html&gt;
 &lt;head&gt;
 &lt;title&gt;ChildForm&lt;/title&gt;

 &lt;SCRIPT language=JavaScript&gt;
 &lt;!-- 
 function win(){
 window.opener.location.href="Example1Parent.php";
 self.close();
 //--&gt;
 }
&lt;/SCRIPT&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt; Welcome to Child &lt;/h1&gt;
&lt;form name="child"  id="child"  METHOD="POST" action=''&gt;
&lt;input type="text" id="test_2" name="test_2" value="ENTER DATA TO PARENT PAGE"&gt;
&lt;INPUT TYPE="SUBMIT" onClick="win();" value="SEND VALUE TO PARENT"&gt;
&lt;/form&gt;

&lt;/body&gt; 
&lt;/html&gt;
</code></pre>
