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

PHP Server Side Scripting Forum

    
Php function for deleting parsed content
jcmiras




msg:3661603
 6:38 am on May 29, 2008 (gmt 0)

I`m trying to delete the "text here" in this string;

<div id=id1>text here</div>

What is the php function or code to do that?

Thanks in advance.

 

Romeo




msg:3661889
 2:29 pm on May 29, 2008 (gmt 0)

Hi Jcmiras,

Functions str_replace or preg_replace should do this.

Kind regards,
R.

jcmiras




msg:3661923
 3:05 pm on May 29, 2008 (gmt 0)

thanks.

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