Viorel, et al -- ...and then Viorel Dragomir said... % % It looks like is not so simple. But is not difficult at all..
Right.
%
...
% while($row = mysql_fetch_row($result)){
% print implode(",", $row);
I agree that implode is a better way to go. I had to have my fields
export in a particular order when they were stored differently, so I
loop through my format array to get the order of the keys to pull from
the data array.
HTH & HAND & HNY
:-D
--
David T-G * There is too much animal courage in
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
pgp00000.pgp
Description: PGP signature
