I want to edit value of csv file and save edited version of csv file based on condition.
I know how to put condition but do not how to edit that particular line and position which I want to edit in php
attached is sample csv file in pdf format in which I want to edit.
There are column Unit1, Unit2, Unit3, Unit4 etc
suppose if value of unit4 of day 8 is below 100 then I can reset it value to 1000 by php code and save csv file
Thanks for heping us













