开发者

How to export data to Google spreadsheet

开发者 https://www.devze.com 2023-02-17 09:23 出处:网络
Using CodeIgniter 1.7开发者_如何学运维.2, is there any library to import data to a Google spreadsheet?I don\'t know anything about the Google spreadsheet API, but I\'m assuming it can accept a CSV fil

Using CodeIgniter 1.7开发者_如何学运维.2, is there any library to import data to a Google spreadsheet?


I don't know anything about the Google spreadsheet API, but I'm assuming it can accept a CSV file, so that is where I would start.

CodeIgniter offers a way to create a CSV file from your database check out the user guide

$this->dbutil->csv_from_result($db_result);

I would generate a CSV then via the Google API send it up to the server and that should work. Again, I don't know anything about the spreadsheet API, so I could be way off base, but since no one else has responded I figured I'd help out as best I can.


This is potentially a good article on the subject, Saving Form Data to Google Spreadsheets Using PHP and the Google Docs API, it includes a Helper class and step by step instructions.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号