grazie per l'idea
ho cmq usato solo str_replace

mhh speravo però se ne potesse occupare la query :=(