PDA

View Full Version : MySQL databse mass find & replace...


JohnXWA
01-08-2003, 11:42 AM
Hello,

I'd like to replace all instances of $header in a table in my databse, does anyone know how to do this?

Thanks!

Xenon
01-08-2003, 03:58 PM
UPDATE tablename SET fieldname=REPLACE(fieldname,'$header','texttoinser t')

if you want to do it just in your templates (sounds like ;)) there is an option in your acp for that also