Good all the time of day. In the internet I found how to read csv, how to edit the information I will not find :-(

How to delete a line in a csv file? Here, for example, the file test.csv, jump to the line with the number $ x, bang it. Similarly, how to erase everything in a line and write $ y there? Well, the bonus question, how to jump to the $ x line, indent, and add $ y to this line?

Hunting without additional libraries, without additional jquery files, preferably without JS, ideally in PHP)

    1 answer 1

    Eh, well, since no one answers ... I would download this file to an array variable and delete the lines from the array. Then would write to the file.
    If the file is too large, upload to the database with subsequent processing by TAM.