hello can someone tell me or share some code where in i can save some data to excel file when i click on a link?
like sample i have fields such as empNo, lastName, firstName, position and i want this to be save into an excel file and after i click the link download it will automatically generate the file in the server and save it as xls.
this is almost the same as the export in phpMyAdmin code and it save to .sql