Never mind everyone, I figured it out. In this line:
$data_line = implode($separator, $data_array)."\n";
I was adding a newline when I didn't need too.
Jason
On Sat, 2003-07-12 at 17:03, Jason Giangrande wrote:
> I have written this function to rewrite the contents of a text file
> after it's
I have written this function to rewrite the contents of a text file
after it's been updated. I store lines of data in an array and then
implode them into one string. The problem is that I'm getting an extra
line break (in other words a blank line is showing up in my text file)
after I modify a pa
2 matches
Mail list logo