Delete a row in a csv with specific content, with php
i have this csv

    logitech;100;1
    lg;200;0
    samsung;40;0
    samsung;60;10
    nokia;25;1

Now i need to delete all the rows which have in the first column "lg" and "nokia"
and the rows which have in the third column the only "0"
like this

    logitech;100;1
    samsung;60;10

how can i do?

thanks for support
 

Delete a row in a csv with specific content, with php
===

i have this csv

    logitech;100;1
    lg;200;0
    samsung;40;0
    samsung;60;10
    nokia;25;1

Now i need to delete all the rows which have in the first column "lg" and "nokia"
and the rows which have in the third column the only "0"
like this

    logitech;100;1
    samsung;60;10

how can i do?

thanks for support
 
