I wasn't aware of the replace command I'll take a look at that tomorrow and see if it helps. Thanks >quick tip: are you aware of the mysql's REPLACE command? ><http://dev.mysql.com/doc/mysql /en/replace.html>