Skip to content
Advertisement

Skipping 2 lines in CSV PHP [closed]

I have a code that is skipping 1 line and making a header from it. How can I skip 2 lines ? (One is like it is – header , but second I want to put to the bin) Is there any parameter that control it ?

JavaScript

Advertisement

Answer

You can always use

JavaScript

which should be your second line

And if you want to skip it or do something else with all following lines then you can do

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement