Thursday, June 7, 2012

Export HTML to .CSV in PHP

This script will help you to export HTML content to *.CSV. PHP is one of most powerfull scripting language in Open source. This script was build through PHP script.

We split across three files to achieve this functionality.
  1. CSS file [To make desgin of HTML table].
  2. PHP file which will list out the DB data from Mysql to PHP.
  3. Another PHP file. Which will help you generate *.CSV file.
style.css



table.php



export.php



1 comment: