将表单数据保存到Google电子表格PHP

时间:2017-02-06 07:46:01

标签: php google-sheets

我有这样的形式。我想使用 Core Php

将此表单数据保存在我的Google云端硬盘(Google电子表格)中
<div class="form">
   <div class="tab-content">
      <div id="signup">
         <h1>Sign Up for Free</h1>
         <form action="/" method="post">
            <div class="top-row">
               <div class="field-wrap">
                  <label>
                  First Name<span class="req">*</span>
                  </label>
                  <input type="text" required autocomplete="off" />
               </div>
               <div class="field-wrap">
                  <label>
                  Last Name<span class="req">*</span>
                  </label>
                  <input type="text"required autocomplete="off"/>
               </div>
            </div>
            <div class="field-wrap">
               <label>
               Email Address<span class="req">*</span>
               </label>
               <input type="email"required autocomplete="off"/>
            </div>
            <button type="submit" class="button button-block"/>Submit</button>
         </form>
      </div>
   </div>
   <!-- tab-content -->
</div>
<!-- /form -->

我该怎么做?

1 个答案:

答案 0 :(得分:0)