note 82688 deleted from function.explode by tularis
| From: | tularis@php.net | Date: | Mon, 27 Oct 2008 13:03:13 +0000 |
| Subject: | note 82688 deleted from function.explode by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145808@lists.php.net to get a copy of this message | ||
Note Submitter: omnibus at omnibus dot edu dot pl
----
Beware when you are using explode() to split lines from TSV file.
I have had one file with tab separated values. Since the whole line was one string, everything
appeared OK. After exploding long numbers like 9876543210987 were converted to 9.87654E+12, then to
string, and this was the value inserted to the database (instead of 9876543210987 as a string).
Concatenating with an empty string did not help since the problem appeared inside the explode()
function.
Regards,
Pietshaq