Thread
:
fgetcsv OR SplFileObject HELP!!
View Single Post
02-21-2013, 04:51 PM
PM User
|
#
5
Arcticwarrio
Regular Coder
Join Date: May 2012
Location: UK
Posts: 589
Thanks: 15
Thanked 65 Times in 65 Posts
Might be better to do a replace first with a vertical bar --> |
PHP Code:
$file
=
file_get_contents
(
'test.csv'
,
true
);
$data
=
str_replace
(
'","'
,
'|'
,
$file
);
__________________
There are
10
types of people on CodingForums,
Those who understand Binary and those who dont.
Arcticwarrio
View Public Profile
Find More Posts by Arcticwarrio