Re: Convert HTML Table to Tab Delimited .TXT file

From: Date: Mon, 24 May 2004 15:02:20 +0000
Subject: Re: Convert HTML Table to Tab Delimited .TXT file
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-34542@lists.php.net to get a copy of this message
An easy way to do it (work around) is to dump it as csv or html. If your form can output an html table to the browser to show results then all you need is to include a short instruction on the html form that has all results in html table that would say something like "Save with your browser's 'save as' button and save it as a HTM file then open it with Excel" Then the user would easily open an HTML file in XLS and do what ever they want with it (save as XLS, WK*, etc.... It gets more complicated if you want to use formulas in the spreadsheet but if its just raw data this would be a very easy way to accomplish what you want. Hope this helps. Christian.

« previous php.db (#34542) next »