Quote
thokra wrote:
what precise will this change... what word is this
Quote
Ken wrote:
I want to replace a word in all my forum threads. I know this can be done by a "simple" mysql code previewd in a custom page. Can anyone help me with the code?
I want to replace all occurrences of the word "urlsame=" with "url_self=" in my forum threads.
Maybe you could write it as a tutorial where you also explain some of the coding? This way I maybe could learn something to use later as well :)
<?php
$result=dbquery ("UPDATE fusion_posts SET post_message = replace( post_message, 'urlsame=', 'url_self=' )") ;
?>
Quote
muscapaul wrote:
Are you using another db-prefix than fusion_?
UPDATE fusion_posts SET post_message = replace( post_message, 'urlsame=', 'url_safe=' ) ;
Category Forum
General DiscussionLabels
None yet
Statistics
4 participants
Notifications
You are not receiving notifications from this thread.
Related Questions