reading first 5 fields of csv file in php
<p>I am confused on how to read a csv file in php ( only the first 4 fields) and exclude the remaining fileds.</p>

<pre><code>Sno,Name,Ph,Add,PO
1,Bob,0102,Suit22,89
2,Pop,2343,Room2,78
</code></pre>

<p>I just want to read first 3 fileds and jump to next data. cannot figure out how to do through fgetcsv</p>

<p>any help?</p>

<p>Thanks,</p>
