I have my data in excel similar to
If we select, copy those cells. Then transpose it, we get the below result (Select any other cell, right click, paste special, transpose) This is how we transpose in excel
I need a PHP script, which will read my excel like first image, transpose and give me a csv file like image 2. The excel can do the transpose, but can any script do?