Viorel, et al --

...and then Viorel Dragomir said...
% It looks like is not so simple. But is not difficult at all..


%     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.


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"      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to