Changeset 364 for trunk/export/export.php
- Timestamp:
- Mar 8, 2010, 5:07:33 PM (16 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/export/export.php (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/export/export.phpr363 r364 306 306 $DbRow = $DbResult2->fetch_assoc(); 307 307 $Value['Text'] = addslashes($DbRow['Text']); 308 $Value['Comment'] = addslashes($DbRow['Comment']); 308 // Escape new line control characters 309 $Value['Text'] = str_replace("\n", '\n', $Value['Text']); 310 $Value['Text'] = str_replace("\r", '', $Value['Text']); 311 $Value['Comment'] = $DbRow['Comment']; 312 // Only one line comments allowed 313 $Value['Comment'] = str_replace("\n", ' ', $Value['Comment']); 314 $Value['Comment'] = str_replace("\r", '', $Value['Comment']); 309 315 //echo('.'); 310 316 } … … 313 319 $NewLine .= "\n"; 314 320 $File2->WriteLine($NewLine); 315 } else $File2->WriteLine($Line." \n");321 } else $File2->WriteLine($Line.""); 316 322 } 317 323 echo('Hotovo <br/>'); 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
