Hi Everyone
I'm pretty new to PHP and I have worked out how to do a CSV export from my contacts database which works perfectly.
but I need to export a pipe delimited csv, which im really struggling with.
This is how I need my csv to look like
1234567890|surname|forename|email@somewhere.com|test-contact|1|address|city|state|US|unit|
I just need help with the echoing out this file right.
I have a while loop that grabs the data like so
$data_string .=
"\"" . $row['number'] ."\"
"\"\n";
of course this only does the number but im sure you get the jist.
any help given I thank in advance.