Re: Another question about functions...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jan 29, 2008, at 2:46 PM, Nathan Nobbe wrote:

On Jan 29, 2008 2:39 PM, Jason Pruim <japruim@xxxxxxxxxx> wrote:
Okay, so I checked everything I can think of, and it's still
downloading it as an application which means it's downloading the
entire website instead of just the data from the database... Anyone
have any idea what to check?

im guessing youre trying to hit the invocation of excelexportfunc(), as it sits in your existing script. create a simple test script that does nothing else but invoke the excelexportfunc() function. you can pass variables to it from the url, or hardcode them if you like; id probly hardcode them at first.

<?php
include('excelexportfunc.php'); // <-- set accordingly

$select = ''; // <-- set me
$sortOrder = '' <-- set me
$exportdate = '' <-- set me

excelexportfunc($select, $sortOrder, $exportdate);
?>

that *should* get you the results youre looking for. from there you need to determine why the method isnt working in the context of your existing script.

-nathan



Hey Nathan,

I did as you suggested, and I think I found the reason... I included info for the doctype, and some files that are on all my pages... Once I comment out those lines it works just fine...

I'm assuming that that is expected behavior?


--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruim@xxxxxxxxxx



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux