ok, so I am grabbing a file off of my server, and I strip out all of the html tags and extra crap that I don't want, and write it to a text file, however the content that makes it to the file still looks something like this
value
value2
and sofourth, I have tried using trim to remove the extra hard returns, but no luck
[php]
$theData = trim($theData, "\r");
$theData = trim($theData, "\n");[/php]
The end result I would be looking for is
value
value2
any body have any ideas?
value
value2
and sofourth, I have tried using trim to remove the extra hard returns, but no luck
[php]
$theData = trim($theData, "\r");
$theData = trim($theData, "\n");[/php]
The end result I would be looking for is
value
value2
any body have any ideas?
Comment