*********.php?haode=yes********<b>789</b>*******************.php?haode=yes********<b>246</b>*******************.php?haode=yes********<b>221</b>*******************.php?haode=yes********<b>687</b>*******************.php?haode=yes********<b>215</b>**********
*********.php?type=789********<b>789</b>*******************.php?type=246********<b>246</b>*******************.php?type=221********<b>221</b>*******************.php?type=687********<b>687</b>*******************.php?type=215********<b>215</b>**********
update tbl_name set field=REPLACE(field, 'haode=yes', CONCAT('type=', SUBSTRING_INDEX(SUBSTRING_INDEX(field, '</b>', 1), '<b>', -1))