PHPMyAdmin says the following query is not correct because of the { and } usage.
UPDATE jos_content
SET `fulltext` = REPLACE(`fulltext`,
'onclick="return hs.expand(this)"',
'onclick="return hs.expand(this,{slideshowGroup: 'popupimage'})"')
What’s the right way of putting this query?
And what if I want it to search in the whole db (not just in the jos_content table)?
That’s not incorrect because of the {, it’s incorrect because of the unescaped single quotes in ‘popupimage’ (as you can see from the syntax highlighting here).
Corrected: