开发者

php site w Google Form embedded

i have a php site in development wh runs fine.

i have included a google spreadsheet form in it via the iframe tags that Google ask you to copy and paste

the spreadsheet form is obviously there for users to use.

it would be all be so great but I can't see how to get the users id from the parent page into the google form via the iframe

i need this otherwise i won't know who it is who has submitted the form. yes,开发者_如何学编程 I cld ask the user to type in their name again but think that's a bit clunky particularly since the info is floating about in the parent page framing the iframe.

Tom


Why not create a php page which takes the user ID in the query string, then redirects to the correct spreadsheet? Just set that page as the src of your iframe with the proper user id in the query string, and voila.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜