This is a small plugin for PHP created by me to generate the xls sheet, the user just needs to pass the table name in the code and rest of the work is done automatically by this plugin