fabu.php
<script   language="javascript">   
  function   Checked(x)   
  {   
  document.location.href='fabu.php?p='+x;//指向下一个页面   
  }   
  </script>  
<input type="radio" name="R1" value="0" onclick=Checked(this.value)> 集团介绍&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="R1" value="1" onclick="Checked(this.value)" <?php if (isset($_GET['p']) && $_GET['p'] == 1) print "checked";?>> 公司介绍&nbsp;&nbsp;&nbsp;&nbsp; 
<input type="radio" name="R1" value="2" onclick="Checked(this.value)" <?php if (isset($_GET['p']) && $_GET['p'] == 2) print "checked";?>>总经理致词<p> <textarea rows="8" name="S1" cols="70" >
 <?php
include("dbconnect.php");
include("html.php");
$HTMLcode = new html();
    $text = $HTMLcode->HTMLcode1($text);
if   (isset($_GET['p']))   
          {   
               $str1 = "select * from document  where documentlocation = '".$_GET['p']."'";
               $name_check=mysql_query($str1,$conn);
                 if($name_check==false){
die("Error: ".mysql_error());

while($row=mysql_fetch_object($name_check)){
$aa=$row->documentcontent;

    $text = $HTMLcode->HTMLcode1($aa);
    echo $text;
}
}  ?>
       </textarea></p>