what is alternative function for fputcsv() in 4.4.2 version

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
B.Murali Krishna
Forum Commoner
Posts: 28
Joined: Fri May 12, 2006 2:05 am
Location: Hyderabad,India
Contact:

what is alternative function for fputcsv() in 4.4.2 version

Post by B.Murali Krishna »

hello,
fputcsv() function was not supported by 4.4.2 version,
what is alternative function to that in 4.4.2 version,
please help me,
Regards,
Murali
User avatar
thomas777neo
Forum Contributor
Posts: 214
Joined: Mon Mar 10, 2003 6:12 am
Location: Johannesburg,South Africa

Post by thomas777neo »

Write the data to a csv yourself using fopen, fwrite, fclose.

So loop through each record, implode the record with a comma into your file created
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

check the user comments on fputcsv()'s page.
B.Murali Krishna
Forum Commoner
Posts: 28
Joined: Fri May 12, 2006 2:05 am
Location: Hyderabad,India
Contact:

thanks

Post by B.Murali Krishna »

thanks guys,
thanks for ur valuable suggestons,
i will try that,
Regards
Murali
Post Reply