I am trying to export my MySQL data to an CSV file,
the procedure I use is quite simple:
connects to the databaseserver
select database
get all the data in a select
loop and place everything in a variable eg $content
$content .= $data[rname].";".$data[rfirm].";".$data[rtitle].";".$data[radress].";".$data[rpostalcode].";".$data[rregion].";".$data[rphone].";".$data[remail].";".$data[rtype]."\n";
and then write $content to a file.
but to put all the values into $content seems to take forever
is there a better way to do this?
regards Thomas A.