|
just a guess, after you run your insert, rebuild the file?
$file = file_get_contents($FileName);
$file = preg_replace("\n\n",$file);
fwrite($FilePointer,$file);
---
eh, nix that. probably an ugly way to do it.
just get the file fixed and insert correct new lines like rowan said.
__________________
Your post count means nothing.
|