Welcome to WebmasterWorld Guest from 107.20.122.81

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Php function for deleting parsed content

     

jcmiras

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

10+ Year Member



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

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

10+ Year Member



Hi Jcmiras,

Functions str_replace or preg_replace should do this.

Kind regards,
R.

jcmiras

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

10+ Year Member



thanks.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month