I am trying to write multiple rows to CSV file without using a loop. Actually, I have a single column SKU in my CSV file. I have an array of multiple SKUs.m I want to write those SKUs into CSV without using any loop. Can anyone know then please guide me?
I have looked this below thread but it is not what I require
How to Write Multiple Rows/Arrays to CSV File in one attempt using PHP?
Thanks