使用PHP写入Google文档电子表格 [英] Writing to Google Docs Spreadsheet using PHP

查看:123
本文介绍了使用PHP写入Google文档电子表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何,我可以使用PHP将数据写入Google Docs Spreadsheet,除了Zend库吗?我尝试过Zend库,虽然它很有帮助,但我希望能够指定要写入的特定行和列,而不是写入指定列的最后一行。从我所看到的,Zend库不具备这一功能。



任何链接或代码将不胜感激! Zend库应该能够编辑电子表格中给定单元格的内容。请参阅此处的文档: http://code.google.com/apis /spreadsheets/data/1.0/developers_guide_php.html#updateCell



'updateCell'方法允许您将行和列传递为目标,并且将内容设置为新值。你有没有机会尝试这种方法?


Is there anyway I could write data to a Google Docs Spreadsheet using PHP, besides the Zend library? I have tried the Zend library, and while it is helpful, I want to be able to specify a specific row and column to write to, instead of writing to the last row of the specified column. From what I have seen, the Zend library is not capable of this.

Any links or code would be greatly appreciated!

解决方案

The Zend library should be able to edit the contents of a given cell within the spreadsheet. See documentation here: http://code.google.com/apis/spreadsheets/data/1.0/developers_guide_php.html#updateCell

The 'updateCell' method allows you to pass in a row and column as your target, and set the contents to the new value. Have you had a chance to try this method?

这篇关于使用PHP写入Google文档电子表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆