right now I have the following:
- Code: Select all
<![CDATA[
Former Sen. Norm Coleman has been diagnosed with
Bell's Palsy, a facial paralysis that is typically temporary and caused by
still unknown factors. Coleman lost his bid for a second term in Congress late
June, when the Minnesota Supreme Court ruled in favor of Sen. Al Franken in
the state's closest and most contentious Senate race.
<div>
Blah Blah Blah feed - All Rights Reserved
</div>
]]>
my php code grabs everything after CDATA[ and before the first <div> tag. The problem is there is a line break and 25 spaces between the CDATA[ and the first letter of the feed. This line break and spaces also gets inserted into my database.
How can I ignore the spaces and line break?


