First, a trying to create an excel document from PHP failed. We couldn't debug where is the error although didn't sleep for a long long night. In the next day, Wima tried to open sample application in XAMMP at localhost. We used XAMMP bundle where Apace, PHP, and MySQL integrated here. Wanna know the code? We still used Oracle as database. Here's the code:
//connection to Oracle
$query = "select no_kamar_inv , kamar_jenis_inv,kamar_kategori,
kamar_harga from kel65_inventaris_kamar order by no_kamar_inv";
$stmt = ociparse($c,$query);
//php class to create pdf
$pdf = new Cezpdf();
$pdf->ezText('Laporan Data Kamar',14);
$pdf->ezText('Sistem Informasi E-Inap',10);
$data[$i]=array('NO KAMAR'=>$row,'JENIS KAMAR'=>$row,
'KATEGORI KAMAR'=>$row, 'HARGA KAMAR'=>$row);
How to connect to Oracle is described in article PHP Connection to Oracle.
You will find some different things here if you use another version of XAMMP. But don't worry, it's just a little bit different. Have a nice try with PHP PDF report...
Special thanks for Wima