Re: better way to create custom text file from query results?
| From: | Ben Liu | Date: | Wed, 07 Jun 2006 13:18:03 +0000 |
| Subject: | Re: better way to create custom text file from query results? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237559@lists.php.net to get a copy of this message | ||
Nevermind, got it to work with this:
while ($row=@mysql_fetch_array($result)) {
foreach ($_POST as $key => $data) {
if ($data) $output.="$row[$key]\t";
} // foreach $_POST
}// while $row
Had a poorly positioned statement throwing off the data output.
Thanks for all suggestions...
--Ben
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s