Ask about general coding issues or problems here.
2 posts • Page 1 of 1
use something like this:
I have not tested this but it is something like this.
Code: Select all
.... header("Content-Type: application/vnd.ms-excel; charset=utf-8"); header("Content-Disposition: attachment; filename=somefile.xlsx"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); echo "your text that you want to appear in excel file";
Who is online
Users browsing this forum: No registered users and 5 guests