<?php
  $classurl_index="list3.php?classid=2&amp;style=0&amp;bclassid=0";
  require($classurl_index);
  echo "$classurl_index";
?>这样页面就是无显示,暂不说参数传递过去没有!<?php
  $classurl_index="list3.php";
  require($classurl_index);
  echo "$classurl_index";
?>
这样就有显示,可以跳转过去,显示正常!!<?php
  $classurl_index="list3.php?classid=2";
  require($classurl_index);
  echo "$classurl_index";
?>
这样也是无显示,
我到底那里错啦,啊啊啊啊啊啊啊啊啊啊啊!!
折磨啊!!!
一下午啦!!!

解决方案 »

  1.   

    require 需要的是真实存在的文件,而 list3.php?classid=2 是合法的文件名吗?你把错误显示给关闭了,当然就什么也么有了
      

  2.   

    我目录下有list3.php 这个文件,只是这个文件里面 就是 1111 这几个测试字母。怎么把错误显示给打开?
      

  3.   

    你是在服务器端include文件,却给了一个http访问的get路径?classid=2&amp;style=0&amp;bclassid=0,当然不行的啦。
      

  4.   

    我刚学php 3天,还都是一点不明白,、
    谢谢楼上,那我在页面中跳转,用什么方式呢?这个是index页面,我想让他显示一些 list页面的内容
      

  5.   

    我也遇到同样问题,也没有得到解决。我也才学啊。
    <?php
    $a=-100
    $b=50
    $c=30
    echo  "\$a= ".$a.",";
    echo  "\$b= ".$b.",";
    echo  "\$c= ".$c."<p>";
    echo "\$a+\$b=".($a+$b)."<br>";
    echo "\$a-\$b=".($a-$b)."<br>";
    echo "\$a*\$b=".($a*$b)."<br>";
    echo "\$a%\$b=".($a%$b)."<br>";
    echo "\$a++= ".$a++." ";
    echo "运算后\$a的值为:".$a."<br>"
    echo "\$b-- =".$b--." ";
    echo "\运算后\$b的值为: ".$b."<br>"
    echo "++\$C= ".++$C. " ";
    echo "运算后\$C的值为: ".$c;
    ?>
    我就是输出都不行啊。现在也在找解决办法呢。有那个大吓帮帮忙。
      

  6.   


    <?php 
    $a=-100 //分号呢?
    $b=50 //分号呢?
    $c=30 //分号呢?
    echo  "\$a= ".$a.","; 
    echo  "\$b= ".$b.","; 
    echo  "\$c= ".$c." <p>"; 
    echo "\$a+\$b=".($a+$b)." <br>"; 
    echo "\$a-\$b=".($a-$b)." <br>"; 
    echo "\$a*\$b=".($a*$b)." <br>"; 
    echo "\$a%\$b=".($a%$b)." <br>"; 
    echo "\$a++= ".$a++." "; 
    echo "运算后\$a的值为:".$a." <br>" //分号呢?
    echo "\$b-- =".$b--." "; 
    echo "\运算后\$b的值为: ".$b." <br>"//分号呢? 
    echo "++\$C= ".++$C. " "; 
    echo "运算后\$C的值为: ".$c; 
    ?> 
      

  7.   


    可以再服务器上设置
    也可以再程序开始写<?php
    error_reporting ( E_ALL);//打开所有错误提示,包括警告等,具体参数自己查
    ?>