
Export to Excel mengambil data dari database yang ada.
pertama buat skrip dengan nama export.php sourcenya seperti berikut :
<?php
$filename = "Task List";
header("Content-Type: application/vnd.ms-excel; charset=UTF-8");
header("Content-Disposition: inline; filename=\"" . $filename . ".xls\""); //rubah bentuk jika ingin mengconvert ke bentuk lain tinggal ganti . (dotnya)
require ("xml_parsing.php");
//include "config_conn.php";
MYSQL_CONNECT("localhost",...