|
在控制器了 写的代码
PHP复制代码 if(is_array($file1))
{
foreach ($file1 as $value)
{
$fileup.=$value;
// $fileup= $value;
}
}
else
{
$fileup=2;
} 复制代码
如果把数组连接起来$fileup. =$value; 就会报错
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: fileup
Filename: admin/blog.php
Line Number: 243
这是错误代码 |
|