par
tof73 » 21 janv. 2015, 15:54
quelque chose du genre, non testé :
update table set champ = concat(substring(champ, 0, INSTR(champ, '<iframe')), substring(champ, INSTR(champ, '</iframe>') + length('</iframe>')))
explications des fonctions ici :
http://dev.mysql.com/doc/refman/5.0/en/ ... tions.html
quelque chose du genre, non testé :
update table set champ = concat(substring(champ, 0, INSTR(champ, '<iframe')), substring(champ, INSTR(champ, '</iframe>') + length('</iframe>')))
explications des fonctions ici :
http://dev.mysql.com/doc/refman/5.0/en/string-functions.html