Hello, I am writing a news updater script and want the option to delete a news item. Currently my news stuff is setup like this:
<!-- 1 -->
News Goes
Here
<!-- 1E -->
I need a snippet of code that will go through and find <!-- $number --> (in this case number would be one), and delete everything from <!-- $number --> to <!-- $number E -->, including those 2 tags, plus obviously everything in between.
Can someone direct me to how I might do this, basically I need to insert the code after I open the file.
Thanks for any help
<!-- 1 -->
News Goes
Here
<!-- 1E -->
I need a snippet of code that will go through and find <!-- $number --> (in this case number would be one), and delete everything from <!-- $number --> to <!-- $number E -->, including those 2 tags, plus obviously everything in between.
Can someone direct me to how I might do this, basically I need to insert the code after I open the file.
Thanks for any help

