Re: Another question about functions...
| From: | Nathan Nobbe | Date: | Tue, 29 Jan 2008 19:46:11 +0000 |
| Subject: | Re: Another question about functions... | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268278@lists.php.net to get a copy of this message | ||
On Jan 29, 2008 2:39 PM, Jason Pruim <japruim@raoset.com> 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