DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Import/Export Tools  
DwZone Forum Index -> Import/Export Tools
.
Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 21 to 30 of 88 (Total: 87) First |  Prev |  Next |  Last  
 Subject Author Date  
   Php XmlRecordset and complex xml feeds  
View this persons public profile  AdelMHARI   13:35 24 Sep 2015  
   Re: Php XmlRecordset and complex xml feeds  
View this persons public profile  Gianluigi   14:58 24 Sep 2015  
   Re: Php XmlRecordset and complex xml feeds  
View this persons public profile  AdelMHARI   15:05 24 Sep 2015  
    import-export  
View this persons public profile  JPena   8:45 23 Sep 2015  
 
for the life of my I dont know why I cant make this work anymore. I have used this extension in the past and has worked, but now it keeps opening up a page with the excel info in the body after clicking on submit button to download the file. ERROR:
Warning: Cannot modify header information - headers already sent by (output started at /home/ahia/public_html/rsvp/dwzExport/ExcelExport.php:1) in /home/ahia/public_html/rsvp/dwzExport/ExcelExport.php on line 297

Warning: Cannot modify header information - headers already sent by (output started at /home/ahia/public_html/rsvp/dwzExport/ExcelExport.php:1) in /home/ahia/public_html/rsvp/dwzExport/ExcelExport.php on line 298

Warning: Cannot modify header information - headers already sent by (output started at /home/ahia/public_html/rsvp/dwzExport/ExcelExport.php:1) in /home/ahia/public_html/rsvp/dwzExport/ExcelExport.php on line 299

Here is your code at the top of the page:<?php
//************************************
// http://www.DwZone-it.com
// Import Export Tools - Excel Writer
// Version 1.1.29
//************************************
$dwzExcel_RsAtt = new dwzExcelExport();
$dwzExcel_RsAtt->Init();
$dwzExcel_RsAtt->SetFileName("report.xls");
$dwzExcel_RsAtt->SetNumberOfRecord("ALL");
$dwzExcel_RsAtt->SetStartOn("ONLOAD", "export");
$dwzExcel_RsAtt->SetStringApex("false");
$dwzExcel_RsAtt->SetFieldLabel("true");
$dwzExcel_RsAtt->SetRecordset($RsAtt);
$dwzExcel_RsAtt->addItem("FirstName", "AFName", "String");
$dwzExcel_RsAtt->addItem("LastName", "ALName", "String");
$dwzExcel_RsAtt->addItem("Email", "AEmail", "String");
$dwzExcel_RsAtt->addItem("Phone", "APhone", "String");
$dwzExcel_RsAtt->addItem("Guests", "AGuests", "String");
$dwzExcel_RsAtt->addItem("Comments", "AComnts", "String");
$dwzExcel_RsAtt->addItem("dwz_cname", "rsvp", "");
$dwzExcel_RsAtt->Execute();
//***********************
// Excel Writer
//***********************
?>


Here is the form with the submit button I use (this is the same way I have done it in the past):

<form name="export" action="" method="post">
<input name="export" type="submit" id="export" formmethod="POST" value="export">
</form>

Please help me on this - thank you in advance.

 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: import-export  
View this persons public profile  Gianluigi   10:10 23 Sep 2015  
   Re: import-export  
View this persons public profile  JPena   10:45 23 Sep 2015  
   Export a Selection from Datagrid  
View this persons public profile  CorVermeulen   2:46 18 Sep 2015  
   Re: Export a Selection from Datagrid  
View this persons public profile  Gianluigi   9:48 18 Sep 2015  
   decimal  
View this persons public profile  TonyBarnhill   2:53 31 May 2015  
   Re: decimal  
View this persons public profile  Gianluigi   2:57 31 May 2015  
Last Visit: Sunday 19 May, 2024 2:48 am First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-2

Jump to: