title: How to Write Multiple Rows/Arrays to CSV File in one attempt using PHP?
body: <p>I have to write multiple records in csv file. I'm using fputcsv function of php which take array as one row and write it in the file. In this way there will be multiple write operations for each row. </p>
  
  <p>I'm looking for a method with which I can write multiple rows in one write operation to csv file.</p>
  
  <p>Please help.</p>