.
> 
> Is there a way to do this entirely through php?  I would like 
> to make a query on a table and write the results to a csv 
> file so that the user can have the option of downloading it.  
> Has anyone ever done something similar to this?
> 
> Thanks
> 

I believe there is a function like 'fputcsv' which may work for you.

However I would test the multi-line output as mentioned in the earlier
email from Sylvain. I recall trying to use the function and that it
suffers from the same problem. You may find it easier just to code it
directly yourself.

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to