Array to csv or excel in php
| From: | Manolis Vlachakis | Date: | Mon, 19 Apr 2010 13:45:00 +0000 |
| Subject: | Array to csv or excel in php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-304208@lists.php.net to get a copy of this message | ||
hallo there everyone..
i got an array from my database
Help with Code Tags<http://www.daniweb.com/forums/misc-explaincode.html?TB_iframe=true&height=400&width=680>
*PHP Syntax* (Toggle Plain Text<http://www.daniweb.com/forums/post1194347.html#>
)
1. $save=split("[|;]",$listOfItems);
and what i want i s after making some changes to the attributes on the array
above to export them on an csv or excel format
but directly as a message to the browser ..
i dont want it to be saved on the server ...
what i cant understand from the examples i found on the net ..
is how to handle the files and which are created cause
i just have the array in a php file nothing more...
another thing i have in mind is to export from the ldap server the files
directly but seems to me as the wrong way to do it
thanks