PHP - Update specific row in CSV file

前端 未结 4 872
予麋鹿
予麋鹿 2021-01-05 08:03

Is there an effective way to update/delete specific row in CSV file? Every other method included reading contents of entire file, creating temporary file and then replacing

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-05 08:24

    Break the CSV into multiple files all in one directory. That way you still have to rewrite files, but you don't have to rewrite nearly as much.

提交回复
热议问题