Hello,
I have a super easy question for you. It seems not difficult to do what I need but due to my poor experience in PHP and programmation, I am still struggling…
I would like to read a csv file and for specifics columns, convert some values and use the converted one. Ex: in the column Gender, I have Female or Male Or Unknown. When a value is Female, I would like to read it / convert it as 1, when a value is Male -> 2, and etc…
The csv file will contain unknown number of raws and columns…
Thank you very much for you help.