php-Call to a member function assign() on

WBOY
Release: 2016-06-02 11:32:22
Original
1497 people have browsed it

phpassign

在rms_report_function.php中调用get_rms_report函数,没有问题,我写了另一个php,代码如下:
require(DIR_ROOT.DIR_RMS.'rms_report/rms_report_function.php');
$shop_array = array();

$shop_array = get_rms_report('002');

echo json_encode($shop_array);
然后就报错:
Fatal error: Call to a member function assign() on a non-object in
这种情况该怎么解决呢?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!