hello ? use this script it works in my local computer but when try to internet it is not work. ? try to export excel but it is show on my web page but when ? try to in my localhost it is export excel what is problem
thanks for your help quantica. ? want vote but how can ? do it. ? try to vote but ti is disable
hello i have problem to excel gieorgian unicode
????????????
Help … here is the location: http://roberts.realdesigngraphics.com/test/download.php
the download.php file is:
<? require_once(‘DocumentGenerator.inc.php’);// include library ?>
if($_POST['ExportToXLS1'])
{
$XLS=new XLSGenerator(_host, _user, _password, _database);// create object
$XLS->setColumn(false);// do not display the table header
$XLS->connect();// connect to database
}
$XLS->executeQuery('select * from customers');// execute a query
$XLS->export();// create document
<form name=”XLSExample1” method=”post” action=””>
<input type="submit" name="ExportToXLS1" value="Export to XLS I">
</form>
I am obviously not setting something up right … it doesn’t matter which of the document types I try it says it can’t change the headers and it spits out jibberish at the bottom that is probably supposed to be the file, but isn’t (I expected to be able to download it) but I dont’ have a clue where to begin to trouble shoot this.
Any help would be greatly appreciated (let me know what info you need)
Hi.. Can I use this script to save as .srt file ? Thanks
can I change the text size on the pdf output? I need to fit quite a large table on the page.
that did the trick thanks, is there a list of other configurable options somewhere?
Hello,
Please check documentation of PHPExcel: http://phpexcel.codeplex.com/releases/view/45412
I am trying to run this on a local web server, it runs fine on my testing server but it spits out garbage text on local web server, all requirements installed, any idea what would cause this?
It’s hard to say without any other data (like screenshots etc.). Maybe you should clear buffor before sending data? Please check: http://www.php.net/manual/en/ref.outcontrol.php
Hi. I have an SQL table with 40 columns. Oddly enough, when I use the XLS option, I only get random 27 columns. The other options work fine. It seems this is only applicable for XLS exports. Any suggestions how to remedy this?
Can I add a header and footer to the PDF documents once created? I would like to add a logo and company name, for example to the PDF
Thanks Jason
Is it a modification which I can do or does it require an update to the script first?
I need to be able to allow customers to download CSV , PDF and DOC versions of reports of their data and need the PDF report in particular to include company name, logo and some additional wording such as CONFIDENTIAL etc
Thanks Jason


138 Purchases
50 Comments