![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
比如我有一个文件index.php?f=1
[PHP]
//index.php
--------------------
<?
$f = $_GET["f"];
include("test.php");
?>
//test.php
-------------------
<?
echo $f;
?>
[/PHP]
显示的是
CODE: Notice: Undefined variable: f in D:\sambar\docs\cclook\modules\kucbb\test.php on line 2 |
即使再test.php加上 global $f; 也不行啊
提问者:kuc 06-04 11:11
答复

