View Single Post
Old 05-10-2006, 09:37 AM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
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.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote