title: how can I get php to read 5 lines instead of the whole .csv file?
body: <pre><code>$file_handle = fopen("ticker.csv", "r");  while (!feof($file_handle) ) {
  
    $line_of_text = fgetcsv($file_handle, 1024);
  
    print '&lt;div class="ticker_price"&gt;'. $line_of_text[7] . "&lt;/div&gt;";
                                                                                                         }
  fclose($file_handle);
  </code></pre>
  
  <p>How can I read a limited number of lines from the column 7 inside the .csv file</p>