前面不能有html,不能有echo这样的输出语句!

解决方案 »

  1.   

    前面不能有html,不能有echo这样的输出语句!
      

  2.   

    前面没有任何输出,不过大家,象我这样能实现页面间的跳转吗?错误代码如下:
    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache\htdocs\Search_R_result.php:1) in C:\Program Files\Apache Group\Apache\htdocs\Search_R_result.php on line 12Warning: mssql_query(): message: 列名 'fhj' 无效。 (severity 16) in C:\Program Files\Apache Group\Apache\htdocs\Search_R_result.php on line 85Warning: mssql_query(): Query failed in C:\Program Files\Apache Group\Apache\htdocs\Search_R_result.php on line 85Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\Program Files\Apache Group\Apache\htdocs\Search_R_result.php on line 86
    SELECT 入库编号,品名,单价,数量,采购人,入库经手人 from rkgl where 单价
      

  3.   

    如果用require怎么用来进行页面跳转,还有其他方法进行页面跳转。
      

  4.   

    恩,上面的{header ("Location:error.php");} 这个错误我已经找到原因了,大家还有其他办法来实现页面跳转吗?
      

  5.   

    其实,asp中的redirect就是执行的location:url的功能
      

  6.   

    <script type="text/javascript">
    <!--
    location.href="error.php"
    //-->
    </script>
      

  7.   

    <script type="text/javascript">
    <!--
    location.href="error.php"
    //-->
    </script>OH,原来可以这么调用javascript啊,谢谢了
      

  8.   

    我一般是用window.open(url,"_self");