回答編集履歴
1
chousei
test
CHANGED
@@ -1 +1,13 @@
|
|
1
|
-
[fgetcsv](https://www.php.net/manual/ja/function.fgetcsv.php)で読んで、
|
1
|
+
[fgetcsv](https://www.php.net/manual/ja/function.fgetcsv.php)で読んで、再帰処理で変更すればよいでしょう
|
2
|
+
|
3
|
+
```php
|
4
|
+
|
5
|
+
array_walk_recursive($csv,function(&$x){
|
6
|
+
|
7
|
+
$x=str_replace(",","",$x);
|
8
|
+
|
9
|
+
});
|
10
|
+
|
11
|
+
print_r($csv);
|
12
|
+
|
13
|
+
```
|