sparksflying
Apr 29th 2007, 10:21 am
Hi ,
I have this one stumping me but probably a simple one...
I have a field in a WordPress DB thats in the following format ;
this is an example
I need to change all of them to
this-is-an-example
I thought i could use :
UPDATE `wp_posts` SET `post_name` = replace(`post_name`, '''', '-');
But no Joy..
Any ideas??
I have this one stumping me but probably a simple one...
I have a field in a WordPress DB thats in the following format ;
this is an example
I need to change all of them to
this-is-an-example
I thought i could use :
UPDATE `wp_posts` SET `post_name` = replace(`post_name`, '''', '-');
But no Joy..
Any ideas??