I have below data in my XLS file's 1st Column
<table border="1">
<tr>
<th align="left">First Name</th>
<th align="left">Gender</th>
<th align="left">Nationality</th>
</tr>
<tr>
<td align="left">Mike</td>
<td align="left">M</td>
<td align="left">Singaporean</td>
</tr>
I would like to convert it to CSV file so output should be in CSV file
First Name Gender Nationality
Mike M Singaporean
I alerady seen https://sourceforge.net/projects/phpexcelreader/
How to achieve using custom PHP script?
Get the data from xls file - $dataArray I have just inlcuded the export functionality
In Controller