RE: [PHP] Array to csv or excel in php

2010-04-19 Thread Jay Blanchard
[snip] to export them on an csv or excel format[/snip] Stupid browser tricks http://www.evolt.org/node/26896 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array to csv or excel in php

2010-04-19 Thread Ken Guest
For non-simple data I have been using PEAR's File_CSV package. It's proven itself very useful in regards to not having to determine in my own code whether something needs to be quoted etc etc - especially if the output CSV needs to be wholly RFC 4180 compliant. The documentation of it is rather mi

Re: [PHP] Array to csv or excel in php

2010-04-19 Thread Peter Lind
On 19 April 2010 17:40, Andrew Ballard wrote: > On Mon, Apr 19, 2010 at 11:14 AM, Peter Lind wrote: >> On 19 April 2010 17:00, Andrew Ballard wrote: >>> On Mon, Apr 19, 2010 at 9:45 AM, Manolis Vlachakis   1. $save=split("[|;]",$listOfItems); and what i want i s after making some

Re: [PHP] Array to csv or excel in php

2010-04-19 Thread Andrew Ballard
On Mon, Apr 19, 2010 at 11:14 AM, Peter Lind wrote: > On 19 April 2010 17:00, Andrew Ballard wrote: >> On Mon, Apr 19, 2010 at 9:45 AM, Manolis Vlachakis >>> 1. $save=split("[|;]",$listOfItems); >>> >>> and what i want i s after making some changes to the attributes on the array >>> above to ex

Re: [PHP] Array to csv or excel in php

2010-04-19 Thread Peter Lind
On 19 April 2010 17:00, Andrew Ballard wrote: > On Mon, Apr 19, 2010 at 9:45 AM, Manolis Vlachakis > wrote: >> hallo there everyone.. >> i got an array from my database >> Help with Code >> Tags >> *PHP Synt

Re: [PHP] Array to csv or excel in php

2010-04-19 Thread Andrew Ballard
On Mon, Apr 19, 2010 at 9:45 AM, Manolis Vlachakis wrote: > hallo there everyone.. > i got an array from my database > Help with Code > Tags > *PHP Syntax* (Toggle Plain > Text

[PHP] Array to csv or excel in php

2010-04-19 Thread Manolis Vlachakis
hallo there everyone.. i got an array from my database Help with Code Tags *PHP Syntax* (Toggle Plain Text ) 1. $save=split("[|;]",$listOfItems); and wha