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 '-> SET setting='DB'-> WHERE id=1' at line 1
Install.sql里面語句如下
UPDATE `{dbprefix}module`
-> SET setting='DB'
-> WHERE id={moduleid};
后臺保存欄目數(shù)據(jù)后,然后復(fù)制出你圖片里面值就行了,通過自己的程序update寫入sql
回復(fù)@官方插件技術(shù)-陳光 哦,我以為跟配置字段一樣有配置文件和規(guī)則的。只能寫在Install.sql里面是嗎。。
回復(fù)@官方插件技術(shù)-陳光 你好,
我這么寫提示錯誤。。錯誤內(nèi)容:
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 '-> SET setting='DB'-> WHERE id=1' at line 1
Install.sql里面語句如下
不太搞得清楚這個。。
記錄下語句,留給同樣需要的人,以下語句是OK的
其中的1是需要修改的內(nèi)容,好像留空不行。