You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'updata dr_1_zhgl set features = replace(features,' ','')' at line 1 搜索问题 →
updata dr_1_zhgl set features = replace(features,' ','')
\Phpcmf\Service::M()->db->query("updata dr_1_zhgl set features = replace(features,'\n','')"); 这样就够了,后面那句是多余的这里原因吧。update