Re: better way to create custom text file from query results?

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

 



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: smime.p7s
Description: S/MIME cryptographic signature


[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