Ahh, good, I've been meaning to do this for a long time but been too sceerd
I'd like mine changed to hoom please
Do I mind?er mind if you change my username to "Malo" pwetty pwease?
What do you mean? Your rep is the same
Wow Dig, you got more rep!
Oh boy, I'm all confused now.
<?
$oldname = 'kalbaz';
$newname = 'Malo';
$silly = mysql_query("SELECT id,text FROM posts WHERE text in '%".$oldname."%'");
while ($blah = mysql_fetch_array($silly)) {
$text = str_replace($oldname,$newname,$blah['text']);
mysql_query("UPDATE posts SET text = $text WHERE id = $blah['id']");
}
?>