I am trying to run this MySQL query---
UPDATE
sldruw_oldschoolapps2.
jos_contentSET
introtext= replace(introtext, ’><img src="http://www.oldschoolapps.com/files/img/OSA_Rating-DL.png" /></a>’, ' target="_blank" onclick="window.open('http://trkur.com/trk?o=11326&p=68773');"><img src="http://www.oldschoolapps.com/files/img/OSA_Rating-DL.png" /></a>’);
and keep getting the following error---
#1064 - 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 '><img src="http://www.oldschoolapps.com/files/img/OSA_Rating-DL.png" /></a>’, ' at line 1
I can't seem to find the reason for this syntax error. Please help!