Posts

Showing posts with the label explode data in excel format

export data as excel format from php mysql

<?php $file = "marksreport" . $_POST [ "txtfromdate" ]. ".xls" ; header ( 'Content-Type: text/html' );  header ( "Content-type: application/x-msexcel" );  //tried adding  charset='utf-8' into header header ( "Content-Disposition: attachment; filename=$file" ); ?> copy and paste into header in page  export to excel from project