title: How to get data from one Page in another page in php?
body: <p>I don't know how to review the answers in judge.php .I  can just get the  answer of the last question.I know the problem is that all the radio's name is same.But I just don't know how to process!</p>
  
  <pre><code>&lt;form name="frm" action="judge.php" method="post" style="margin-bottom:5px;"&gt;
      &lt;table width="450" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC"&gt;  
    &lt;?php
      do{
    ?&gt;     
      &lt;tr&gt;&lt;!-- title of  question --&gt;
          &lt;td height="30" align="center" bgcolor="#F0F000"&gt;&lt;strong&gt;
          &lt;?php echo "$info[1]";?&gt;&lt;/strong&gt;&lt;/td&gt;
          &lt;/tr&gt;    &lt;!-- First answer--&gt;
      &lt;tr&gt;&lt;td height="30" bgcolor="#FFFFFF"&gt;&lt;input type="radio" name="vote" value="0"&gt;
          &lt;?php echo "$info[2]";?&gt;
          &lt;/td&gt;
          &lt;/tr&gt;  &lt;!--second answer--&gt;
      &lt;tr&gt;&lt;td height="30" bgcolor="#FFFFFF"&gt;&lt;input type="radio" name="vote" value="1"&gt;
          &lt;?php echo "$info[3]";?&gt;
          &lt;/td&gt;
          &lt;/tr&gt;  &lt;!--Third answer--&gt;
      &lt;tr&gt;&lt;td height="30" bgcolor="#FFFFFF"&gt;&lt;input type="radio" name="vote" value="2"&gt;
          &lt;?php echo "$info[4]";?&gt;
          &lt;/td&gt;
          &lt;/tr&gt;  &lt;!-- Fourth answer--&gt;
      &lt;tr&gt;&lt;td height="30" bgcolor="#FFFFFF"&gt;&lt;input type="radio" name="vote" value="3"&gt;
          &lt;?php echo "$info[5]";?&gt;
          &lt;/td&gt;
          &lt;/tr&gt;
  
    &lt;?php
     }while($info = mysql_fetch_row($result));
    ?&gt;
     &lt;tr&gt;
     &lt;td height="30" bgcolor="#FFFFFF"&gt;&lt;input type="hidden" name="go"  value="1"&gt;
        &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;input type="submit" value="Submit your answer" name="submit1" onClick="javascript:return check();" &gt;&amp;nbsp;&lt;/td&gt;
     &lt;/tr&gt;
       &lt;/table&gt;
    &lt;/form&gt; 
  </code></pre>