Changeset 475 for trunk/import
- Timestamp:
- Apr 23, 2010, 10:10:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/import/import.php
r460 r475 116 116 $Line = substr($Line, 1); // Skip start qoute 117 117 $TempLine = str_replace('\"', ' ', $Line); // Temporary remove slashed quotes 118 $Value['Text'] = addslashes(stripslashes(substr($Line, 0, strpos($TempLine, '"')))); 118 $Value['Text'] = substr($Line, 0, strpos($TempLine, '"')); 119 $Value['Text'] = str_replace('\n', "\n", $Value['Text']); 120 $Value['Text'] = addslashes(stripslashes($Value['Text'])); 119 121 $Line = trim(substr($Line, strpos($TempLine, '"') + 1)); // Skip closing quote and semicolon 120 122 } else
Note:
See TracChangeset
for help on using the changeset viewer.