PHP Classes

File: export_file.php

Recommend this page to a friend!
  Classes of raju mazumder   Export To Excel   export_file.php   Download  
File: export_file.php
Role: Example script
Content type: text/plain
Description: php file
Class: Export To Excel
Generate HTML tables from MySQL query results
Author: By
Last change:
Date: 16 years ago
Size: 570 bytes


Class file image Download
include_once('databasecon.php');//to make database connecti

$cap="<table align=center border=1px><th>PERSONAL DETAILS</th>";//CAPTION OF THIS REPORT
$title="<tr><td><b>NAME</b></td><td><b>E-MAIL</b></td><td><b>CITY</b></td></tr>";//TABLE HEADER

$tmp_per_res=mysql_query("select * from personalinfo");