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 搜索問(wèn)題 →
updata dr_1_zhgl set features = replace(features,' ','')
\Phpcmf\Service::M()->db->query("updata dr_1_zhgl set features = replace(features,'\n','')"); 這樣就夠了,后面那句是多余的開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問(wèn)題!
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人
刪掉也沒(méi)用。是不是和php的replace沖突了
回復(fù)@小波工作室
在mysql運(yùn)行成功后,才復(fù)制過(guò)來(lái)的
這里原因吧。update
回復(fù)@jqyy 不是,不懂為什么