Hi
I am new to php and also new to other scripting languages.
I have downloaded a script to fetch news from other sites. I only want the headlines in the news an therefore want to erase the partial text.
One example is the html code:
<DIV CLASS="description">this is an example of the text i will remove.<br><br></DIV>
I have tried to use the php code:
$value = eregi_replace( "DIV CLASS=\"description\"[>]*>", "", $value );
This only removes the <DIV CLASS=...></DIV> but leaves the text alone.
It would be nice if anyone could help me with this problem.