Okay sorry Omego

Anyways heres the only thing I can find and its from Gardener. Its on post
https://www.ubbdev.com/forum/showflat...prev=#Post52206 [] OK, that sounds nasty. =/ It would really have to be a new feature of the import script then, I guess.
Here is a code snippet that might help you, it updates the body and subject of all posts and does a str_replace on each one. It isn't tested though, so beware!
code: $query = "
SELECT B_Number,B_Username,B_Subject,B_Body
FROM w3t_Posts
";
$sth = $dbh -> do_query($query);
while ( list($Number,$Username,$Subject,$Body) = $dbh -> fetch_array($sth) ) {
$Body_q = addslashes(str_replace("oldstring", "newstring", $Body));
$Subject_q = addslashes(str_replace("oldstring", "newstring", $Subject));
$Number_q = addslashes($Number);
$query = "
UPDATE w3t_Posts SET
B_Body = '$Body_q'
B_Subject = '$Subject_q'
WHERE B_Number = $Number_q
";
$sth2 = $dbh -> do_query($query);
}
[/]