Warning: include(include/getdata_wu) [function.include]: failed to open stream: No such file or directory in E:\wamp\www\test\TwoCheck.php on line 9Warning: include() [function.include]: Failed opening 'include/getdata_wu' for inclusion (include_path='.;C:\php5\pear') in E:\wamp\www\test\TwoCheck.php on line 9Array ( [0] => 华丽 [1] => 丽的 [2] => 的杯 [3] => 杯子 ) 这个是正确的输出Fatal error: Class 'GetdataWu' not found in E:\wamp\www\test\TwoCheck.php on line 47但是我看过目录,路径是对的啊。怎么报找不到呢?还是其他的问题?请教一下。
include("include/getdata_wu");
这样写的。
include_once("include/getdata_wu");
再不行的话用:var_dump(变量名);exit;一步一步打印下看看;