homepage Welcome to WebmasterWorld Guest from 54.211.73.232
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Replace text with another text from a database
replace string
aff_dan

10+ Year Member



 
Msg#: 11201 posted 2:46 pm on Dec 31, 2005 (gmt 0)

Hello,

I have in a TABLE wp_posts some text wrong, a web site url.

I want to change from all posts that URL from my database with another URL from my posts article.

I have not found on YAHOO any ideas about it.

Any help how to do?

Regards,
Dan

 

coopster

WebmasterWorld Administrator coopster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 11201 posted 8:09 pm on Jan 1, 2006 (gmt 0)

PHP has a str_replace() [php.net] function that may be of interest.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved