在API的PHP执行文件中,语句有问题吗
在API的PHP执行文件中。按例程改成下面语句读取外部数据表
$data = \Phpcmf\Service::M()->db->query("select * from a JOIN b on a.zd1=b.ID where id<>'' and name=''水泵")->getAll();
提示错误。是语句有问题吗?
在PC端模板中使用是正常的。
在API的PHP执行文件中。按例程改成下面语句读取外部数据表
$data = \Phpcmf\Service::M()->db->query("select * from a JOIN b on a.zd1=b.ID where id<>'' and name=''水泵")->getAll();
提示错误。是语句有问题吗?
在PC端模板中使用是正常的。