我不是专家。 PhpMyAdmin一直告诉我以下代码的语法错误。你能帮助我吗?谢谢!
UPDATE jos_content SET fulltext = REPLACE(fulltext,'<img alt="chiocciola" src="images/stories/chiocciola.gif" width="9" height="8" />','@')
答案 0 :(得分:1)
FULLTEXT是MySQL reserved word,应该引用反引号“'' -
UPDATE jos_content SET `fulltext` = REPLACE(`fulltext`, '<img alt="chiocciola" src="images/stories/chiocciola.gif" width="9" height="8" />', '@')