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)> 集团介绍
<input type="radio" name="R1" value="1" onclick="Checked(this.value)" <?php if (isset($_GET['p']) && $_GET['p'] == 1) print "checked";?>> 公司介绍
<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>
<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)> 集团介绍
<input type="radio" name="R1" value="1" onclick="Checked(this.value)" <?php if (isset($_GET['p']) && $_GET['p'] == 1) print "checked";?>> 公司介绍
<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>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货