Message from discussion
Insertion into fusion table
Received: by 10.43.65.195 with SMTP id xn3mr26067243icb.2.1341852937910;
Mon, 09 Jul 2012 09:55:37 -0700 (PDT)
X-BeenThere: fusion-tables-users-group@googlegroups.com
Received: by 10.50.178.73 with SMTP id cw9ls3495382igc.4.canary; Mon, 09 Jul
2012 09:55:34 -0700 (PDT)
Received: by 10.50.237.39 with SMTP id uz7mr9670196igc.2.1341852934610;
Mon, 09 Jul 2012 09:55:34 -0700 (PDT)
Received: by 10.50.100.229 with SMTP id fb5msigb;
Mon, 9 Jul 2012 00:55:01 -0700 (PDT)
Received: by 10.68.196.232 with SMTP id ip8mr20552649pbc.6.1341820501662;
Mon, 09 Jul 2012 00:55:01 -0700 (PDT)
Received: by 10.68.196.232 with SMTP id ip8mr20552645pbc.6.1341820501618;
Mon, 09 Jul 2012 00:55:01 -0700 (PDT)
Return-Path: <dhaval....@gmail.com>
Received: from mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44])
by gmr-mx.google.com with ESMTPS id ir9si88093pbc.1.2012.07.09.00.55.01
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 09 Jul 2012 00:55:01 -0700 (PDT)
Received-SPF: pass (google.com: domain of dhaval....@gmail.com designates 209.85.160.44 as permitted sender) client-ip=209.85.160.44;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of dhaval....@gmail.com designates 209.85.160.44 as permitted sender) smtp.mail=dhaval....@gmail.com; dkim=pass header...@gmail.com
Received: by mail-pb0-f44.google.com with SMTP id wy7so17696190pbc.3
for <fusion-tables-users-group@googlegroups.com>; Mon, 09 Jul 2012 00:55:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=8r15gbe2YW+cQBZ+YLV9JKoJl3nJ2jIhNqqF8/yhrWo=;
b=P/OSk5Syi83AiNyAk13z63nrWP2f3oVyWnDoO+n2Il75xfjce99P5aAZ0hb6NKl8KE
P3NtbqABHOBe31C/CUypi2jKZjnB9XsKtmhfnUhXtExp+w9dT12L8XpC5SE9PDJGC2CE
i+l2o0doZD4iHL3Koi2Nma2lQUJe6xpbP1QWl+M+6lUl/E4vYLpFz4kTZ5AKTbGvR5N5
PcVTQcGiiq7B+OBGDf1PwxrhZKG4JDAyGB58zJi+GlpFGq3Q2lPkor0TumPBP4oyGcc6
oEFGb4/jIN1bDSxd51wkCnUxDUu40zX/EOqvT9Vn4lRuJNoOU5fPAR4K4SvN6JuobxTc
MHBQ==
MIME-Version: 1.0
Received: by 10.68.234.104 with SMTP id ud8mr57468764pbc.163.1341820501338;
Mon, 09 Jul 2012 00:55:01 -0700 (PDT)
Received: by 10.66.221.101 with HTTP; Mon, 9 Jul 2012 00:55:01 -0700 (PDT)
In-Reply-To: <CAESeP+8pOhESRSY1v53bwG_poAyYkp6a=nsOsrS6if-0Ly+...@mail.gmail.com>
References: <CAKCnKuouTkpF_hoQNwikmXZ268+q6-oqjPan+zS1RNqsER3...@mail.gmail.com>
<CAESeP+_2URMrA_0CCyhph+D8_uMRqDsD8Qf9w=EgOiKUOaJ...@mail.gmail.com>
<9abe58ba-481c-49a5-aae7-68e6b566a...@pt7g2000pbc.googlegroups.com>
<CAESeP+_v4W7tHjVeFrAgN++PCYNq02K13kdDFU2YzdPPpu5...@mail.gmail.com>
<0cdd7dca-ac6e-49cf-b27a-1959098d80b3@googlegroups.com>
<CAESeP+8pOhESRSY1v53bwG_poAyYkp6a=nsOsrS6if-0Ly+...@mail.gmail.com>
Date: Mon, 9 Jul 2012 13:25:01 +0530
Message-ID: <CA+aBMoQueaLPuGmfeWTkf3HfxROA+B=fKbp7fGPBr8B2eAT...@mail.gmail.com>
Subject: Re: [FT] Re: Insertion into fusion table
From: Dhaval Parekh <dhaval....@gmail.com>
To: fusion-tables-users-group@googlegroups.com
Content-Type: multipart/alternative; boundary=047d7b33d93455ab4404c460ee9d
--047d7b33d93455ab4404c460ee9d
Content-Type: text/plain; charset=ISO-8859-1
Hi Kathryn,
Thanks for suggesting the useful link, I was facing problem to get token
but I've solved it replied in same forum topic with the code.
Thanks,
Dhaval
On Wed, Jul 4, 2012 at 6:45 AM, Kathryn from Fusion Tables Team <
googletables-feedback+kath...@google.com> wrote:
> Hi Dhaval,
>
> The solution posted in this thread might help you out:
>
>
> https://developers.google.com/fusiontables/groups/fusionTablesApiGroup?place=topic%2Ffusion-tables-users-group%2FVfI3vEIE5jM%2Fdiscussion
>
> Cheers,
> Kathryn
>
>
> On Mon, Jun 18, 2012 at 7:05 AM, <dhava...@wingstechsolutions.com> wrote:
>
>> Hi Kathryn,
>>
>> I tried same code as above, I am getting all existing records of my
>> table but can't insert records into fusion table. I tried to echo my token
>> but it comes null. I don't what's the problem, why token is coming
>> null/empty. Any suggestions or directions to insert data into fusion table
>> will be helpful.
>>
>> Thanks,
>> Dhaval
>>
>>
>> On Tuesday, April 24, 2012 2:47:16 AM UTC+5:30, Kathryn from Fusion
>> Tables Team wrote:
>>>
>>> Try echoing / logging the token to see if it has a value or not. If the
>>> variable contains a long string of characters, it is most likely being set
>>> correctly.
>>>
>>> Cheers,
>>> Kathryn
>>>
>>> On Sun, Apr 22, 2012 at 1:39 AM, Indian TerrorismPortal <
>>> indiantpor...@gmail.com> wrote:
>>>
>>>> Sorry but could you please let me know how to check whether token is
>>>> getting set properly or not ? I am new to this and am not sure if I am
>>>> on right track . I added these two lines to clientlogin.php fle on my
>>>> PC to pass over https ... but still nothing is happening ... where am
>>>> I going wrong ?
>>>> curl_setopt($clientlogin_curl, CURLOPT_SSL_VERIFYPEER, FALSE);
>>>> curl_setopt($clientlogin_curl, CURLOPT_SSL_VERIFYHOST, 2);
>>>>
>>>> On Apr 21, 3:11 am, Kathryn from Fusion Tables Team <googletables-
>>>> feedback+kath...@google.com> wrote:
>>>> > Is the token getting set properly? Some people have had trouble
>>>> accessing
>>>> > secure sites (https) from PHP. This stackoverflow question provides
>>>> some
>>>> > good insight:
>>>> >
>>>> > http://stackoverflow.com/**questions/316099/cant-connect-**
>>>> to-https-site-.<http://stackoverflow.com/questions/316099/cant-connect-to-https-site-.>
>>>> ..
>>>> >
>>>> > Cheers,
>>>> > Kathryn
>>>> >
>>>> > On Tue, Apr 17, 2012 at 9:19 AM, Indian TerrorismPortal <
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > indiantpor...@gmail.com> wrote:
>>>> > > Hi ,
>>>> > > Recently for my application I have been retrieving data from the
>>>> > > fusion tables which I created (all are public) which I have been
>>>> using to
>>>> > > create google maps and charts. Now I want to insert data into my
>>>> fusion
>>>> > > table. I looked out at
>>>> > >https://developers.google.**com/fusiontables/docs/sample_**code<https://developers.google.com/fusiontables/docs/sample_code> for
>>>> help
>>>> > > specifically
>>>> > >http://code.google.com/p/**fusion-tables-client-php/**
>>>> source/browse/trunk..<http://code.google.com/p/fusion-tables-client-php/source/browse/trunk..>
>>>> ..
>>>> > > I downloaded the necessary files for this script to run i.e.
>>>> downloaded
>>>> > > clienlogin.php , file.php , sql.php and constants.php. The script is
>>>> > > running but rows are not getting inserted and I am not able to find
>>>> the
>>>> > > reason . I hhave pasted my code ( its a small code .. please have a
>>>> look at
>>>> > > it and let me the error I am commiting). Essentially I want to
>>>> insert data
>>>> > > into my fusion table after collecting user info through user forms
>>>> . I
>>>> > > don't want to use google forms. Any kind of help / pointers in this
>>>> > > direction would be helpful.
>>>> >
>>>> > > ######### THE CODE ##################
>>>> >
>>>> > > <html>
>>>> >
>>>> > > <?php
>>>> >
>>>> > > //include the files from the PHP FT client library
>>>> > > include('D:\xampp\htdocs\**itpold\clientlogin.php');
>>>> > > include('D:\xampp\htdocs\**itpold\sql.php');
>>>> > > include('D:\xampp\htdocs\**itpold\file.php');
>>>> >
>>>> > > // Table id
>>>> > > $tableid = 3544282;
>>>> >
>>>> > > //Enter your username and password
>>>> > > $username = "A...@gmail.com";
>>>> > > $password = "XYZ";
>>>> >
>>>> > > // Get auth token - it would be better to save the token in a secure
>>>> > > database
>>>> > > // rather than requesting it with every page load.
>>>> > > $token = ClientLogin::getAuthToken($**username, $password);
>>>> > > $ftclient = new FTClientLogin($token);
>>>> >
>>>> > > // If the request is a post, insert the data into the table
>>>> > > if($_SERVER['REQUEST_METHOD'] == 'POST') {
>>>> > > echo "I am here";
>>>> > > echo $_POST['Name'];
>>>> > > echo $_POST['Location'];
>>>> > > // Insert form data into table
>>>> > > $insertresults = $ftclient->query(SQLBuilder::**insert($tableid,
>>>> > > array('Name'=> $_POST['Name'],
>>>> > > 'Location' => $_POST['Location'])));
>>>> > > $insertresults = explode("\n", $insertresults);
>>>> > > $rowid1 = $insertresults[1];
>>>> > > echo $rowid1 ;
>>>> > > }
>>>> >
>>>> > > ?>
>>>> >
>>>> > > <head>
>>>> > > <title>Simple Form Example</title>
>>>> >
>>>> > > <style>
>>>> > > body { font-family: Arial, sans-serif; }
>>>> > > #map_canvas { height: 300px; width:400px; }
>>>> > > </style>
>>>> >
>>>> > > <!-- Import Google Maps API JavaScript -->
>>>> > > <script type="text/javascript" src="
>>>> > >http://maps.google.com/maps/**api/js?sensor=false<http://maps.google.com/maps/api/js?sensor=false>
>>>> "></script>
>>>> > > <script type="text/javascript">
>>>> >
>>>> > > //var map;
>>>> > > //var marker;
>>>> >
>>>> > > // Simple form checking.
>>>> > > function check_form() {
>>>> > > if(document.getElementById('**Name').value == '' ||
>>>> > > document.getElementById('**Location').value == '') {
>>>> >
>>>> > > alert('Name and location required.');
>>>> > > return false;
>>>> > > }
>>>> > > return true;
>>>> > > }
>>>> >
>>>> > > </script>
>>>> > > </head>
>>>> >
>>>> > > <body >
>>>> >
>>>> > > <h1>Simple Form Example</h1>
>>>> >
>>>> > > <h2>Insert data</h2>
>>>> > > <form method="post" action="forms.php" onsubmit="return
>>>> check_form();">
>>>> > > Name: <input type="text" name="Name" id="Name" /><br />
>>>> > > Result: <input type="text" name="Location" id="Location" /><br />
>>>> > > <!-- Create the map here -->
>>>> > > <!--<div id="map_canvas"></div>-->
>>>> > > <!-- Hidden input field for location selected on map -->
>>>> > > <!--<input type="hidden" name="location" id="location" />-->
>>>> > > <input type="submit" value="Submit" />
>>>> > > </form>
>>>> >
>>>> > > <h2>Table data</h2>
>>>> > > <p>
>>>> > > <?php
>>>> > > // Show the data from table
>>>> > > $table_data = $ftclient->query(SQLBuilder::**select($tableid));
>>>> > > $table_data = explode("\n", $table_data);
>>>> > > for($i = 0; $i < count($table_data); $i++) {
>>>> > > echo $table_data[$i] . '<br />';
>>>> > > }
>>>> > > ?>
>>>> > > </p>
>>>> > > </body>
>>>> > > </html>
>>>> >
>>>> > > #############################**##############################**################
>>>> ###
>>>> >
>>>> > > Thanks
>>>> >
>>>> > > --
>>>> > > You received this message because you are subscribed to the Google
>>>> Groups
>>>> > > "Fusion Tables API Users Group" group.
>>>> > > To post to this group, send email to
>>>> > > fusion-tables-users-group@**googlegroups.com<fusion-tables-users-group@googlegroups.com>
>>>> .
>>>> > > To unsubscribe from this group, send email to
>>>> > > fusion-tables-users-group+**unsubscribe@googlegroups.com<fusion-tables-users-group%2Bunsubscribe@googlegroups.com>
>>>> .
>>>> > > For more options, visit this group at
>>>> > >http://groups.google.com/**group/fusion-tables-users-**group?hl=en<http://groups.google.com/group/fusion-tables-users-group?hl=en>
>>>> .
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Fusion Tables API Users Group" group.
>>>> To post to this group, send email to fusion-tables-users-group@**
>>>> googlegroups.com <fusion-tables-users-group@googlegroups.com>.
>>>> To unsubscribe from this group, send email to
>>>> fusion-tables-users-group+**unsubscribe@googlegroups.com<fusion-tables-users-group%2Bunsubscribe@googlegroups.com>
>>>> .
>>>> For more options, visit this group at http://groups.google.com/**
>>>> group/fusion-tables-users-**group?hl=en<http://groups.google.com/group/fusion-tables-users-group?hl=en>
>>>> .
>>>>
>>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Fusion Tables API Users Group" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/fusion-tables-users-group/-/_mDn50CMECQJ.
>>
>> To post to this group, send email to
>> fusion-tables-users-group@googlegroups.com.
>> To unsubscribe from this group, send email to
>> fusion-tables-users-group+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/fusion-tables-users-group?hl=en-US.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Fusion Tables API Users Group" group.
> To post to this group, send email to
> fusion-tables-users-group@googlegroups.com.
> To unsubscribe from this group, send email to
> fusion-tables-users-group+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/fusion-tables-users-group?hl=en-US.
>
--047d7b33d93455ab4404c460ee9d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi Kathryn,<div><br></div><div>Thanks for suggesting the useful link, I was=
facing problem to get token but I've solved it replied in same forum t=
opic with the code.</div><div><br></div><div>Thanks,</div><div>Dhaval</div>
<div><br><div class=3D"gmail_quote">On Wed, Jul 4, 2012 at 6:45 AM, Kathryn=
from Fusion Tables Team <span dir=3D"ltr"><<a href=3D"mailto:googletabl=
es-feedback+kath...@google.com" target=3D"_blank">googletables-feedback+kat=
h...@google.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi Dhaval,<div><br></div><div>The solution p=
osted in this thread might help you out:</div><div><br></div><div><a href=
=3D"https://developers.google.com/fusiontables/groups/fusionTablesApiGroup?=
place=3Dtopic%2Ffusion-tables-users-group%2FVfI3vEIE5jM%2Fdiscussion" targe=
t=3D"_blank">https://developers.google.com/fusiontables/groups/fusionTables=
ApiGroup?place=3Dtopic%2Ffusion-tables-users-group%2FVfI3vEIE5jM%2Fdiscussi=
on</a></div>
<div><br></div><div>Cheers,</div><div>Kathryn<div><div class=3D"h5"><br><br=
><div class=3D"gmail_quote">On Mon, Jun 18, 2012 at 7:05 AM, <span dir=3D"=
ltr"><<a href=3D"mailto:dhava...@wingstechsolutions.com" target=3D"_blan=
k">dhava...@wingstechsolutions.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi Kathryn,<div><br></div><div>I tried same =
code =A0as above, I am getting all existing records of my table but can'=
;t insert records into fusion table. I tried to echo my token but it comes =
null. I don't what's the problem, why token is coming null/empty. A=
ny suggestions or directions to insert data into fusion table will be helpf=
ul.</div>
<div><br></div><div>Thanks,</div><div>Dhaval<div><div><br><br>On Tuesday, A=
pril 24, 2012 2:47:16 AM UTC+5:30, Kathryn from Fusion Tables Team wrote:<b=
lockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-=
left:1px #ccc solid;padding-left:1ex">
<div>Try echoing / logging the token to see if it has a value or not. If th=
e variable contains a long string of characters, it is most likely being se=
t correctly.</div><div><br></div>
<div>Cheers,</div><div>Kathryn<br><br><div class=3D"gmail_quote">On Sun, Ap=
r 22, 2012 at 1:39 AM, Indian TerrorismPortal <span dir=3D"ltr"><<a href=
=3D"mailto:indiantpor...@gmail.com" target=3D"_blank">indiantpor...@gmail.c=
om</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Sorry but could you please let me know how t=
o check whether token is<br>
getting set properly or not ? I am new to this and am not sure if I am<br>
on right track . I added these two lines to clientlogin.php fle on my<br>
PC to pass over https ... but still nothing is happening ... where am<br>
I going wrong ?<br>
curl_setopt($clientlogin_curl, CURLOPT_SSL_VERIFYPEER, FALSE);<br>
curl_setopt($clientlogin_curl, CURLOPT_SSL_VERIFYHOST, 2);<br>
<br>
On Apr 21, 3:11=A0am, Kathryn from Fusion Tables Team <googletables-<br>
<div><a>feedback+kath...@google.com</a>> wrote:<br>
> Is the token getting set properly? Some people have had trouble access=
ing<br>
> secure sites (https) from PHP. This stackoverflow question provides so=
me<br>
> good insight:<br>
><br>
</div>> <a href=3D"http://stackoverflow.com/questions/316099/cant-connec=
t-to-https-site-." target=3D"_blank">http://stackoverflow.com/<u></u>questi=
ons/316099/cant-connect-<u></u>to-https-site-.</a>..<br>
<div>><br>
> Cheers,<br>
> Kathryn<br>
><br>
> On Tue, Apr 17, 2012 at 9:19 AM, Indian TerrorismPortal <<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
</div><div>> <a>indiantpor...@gmail.com</a>> wrote:<br>
> > Hi ,<br>
> > =A0 =A0 Recently for my application I have been retrieving data f=
rom the<br>
> > fusion tables which I created (all are public) which I have been =
using to<br>
> > create google maps and charts. Now I want to insert data into my =
fusion<br>
> > table. I looked out at<br>
> ><a href=3D"https://developers.google.com/fusiontables/docs/sample_=
code" target=3D"_blank">https://developers.google.<u></u>com/fusiontables/d=
ocs/sample_<u></u>code</a>=A0for help<br>
> > specifically<br>
</div>> ><a href=3D"http://code.google.com/p/fusion-tables-client-php=
/source/browse/trunk.." target=3D"_blank">http://code.google.com/p/<u></u>f=
usion-tables-client-php/<u></u>source/browse/trunk..</a>..<br>
<div>> > I downloaded the necessary files for this script to run i.e.=
downloaded<br>
> > clienlogin.php , file.php , sql.php and constants.php. The script=
is<br>
> > running but rows are not getting inserted and I am not able to fi=
nd the<br>
> > reason . I hhave pasted my code ( its a small code .. please have=
a look at<br>
> > it and let me the error I am commiting). Essentially I want to in=
sert data<br>
> > into my fusion table after collecting user info through user form=
s . I<br>
> > don't want to use google forms. Any kind of help / pointers i=
n this<br>
> > direction would be helpful.<br>
><br>
> > ######### THE CODE ##################<br>
><br>
> > <html><br>
><br>
> > <?php<br>
><br>
> > //include the files from the PHP FT client library<br>
> > include('D:\xampp\htdocs\<u></u>itpold\clientlogin.php');=
<br>
> > include('D:\xampp\htdocs\<u></u>itpold\sql.php');<br>
> > include('D:\xampp\htdocs\<u></u>itpold\file.php');<br>
><br>
> > // Table id<br>
> > $tableid =3D 3544282;<br>
><br>
> > //Enter your username and password<br>
</div>> > $username =3D "<a>A...@gmail.com</a>";<br>
<div><div>> > $password =3D "XYZ";<br>
><br>
> > // Get auth token - it would be better to save the token in a sec=
ure<br>
> > database<br>
> > // rather than requesting it with every page load.<br>
> > $token =3D ClientLogin::getAuthToken($<u></u>username, $password)=
;<br>
> > $ftclient =3D new FTClientLogin($token);<br>
><br>
> > // If the request is a post, insert the data into the table<br>
> > if($_SERVER['REQUEST_METHOD'] =3D=3D 'POST') {<br=
>
> > =A0 =A0echo "I am here";<br>
> > =A0 =A0echo $_POST['Name'];<br>
> > =A0 =A0echo $_POST['Location'];<br>
> > =A0 // Insert form data into table<br>
> > =A0 $insertresults =3D $ftclient->query(SQLBuilder::<u></u>ins=
ert($tableid,<br>
> > =A0 =A0 array('Name'=3D> $_POST['Name'],<br>
> > =A0 =A0 'Location' =3D> $_POST['Location'])));=
<br>
> > =A0 $insertresults =3D explode("\n", $insertresults);<b=
r>
> > =A0 $rowid1 =3D $insertresults[1];<br>
> > =A0 echo $rowid1 ;<br>
> > }<br>
><br>
> > ?><br>
><br>
> > <head><br>
> > <title>Simple Form Example</title><br>
><br>
> > <style><br>
> > =A0 body { font-family: Arial, sans-serif; }<br>
> > =A0 #map_canvas { height: 300px; width:400px; }<br>
> > </style><br>
><br>
> > <!-- Import Google Maps API JavaScript --><br>
> > <script type=3D"text/javascript" src=3D"<br>
> ><a href=3D"http://maps.google.com/maps/api/js?sensor=3Dfalse" targ=
et=3D"_blank">http://maps.google.com/maps/<u></u>api/js?sensor=3Dfalse</a>&=
quot;></script><br>
> > <script type=3D"text/javascript"><br>
><br>
> > //var map;<br>
> > //var marker;<br>
><br>
> > // Simple form checking.<br>
> > function check_form() {<br>
> > =A0 if(document.getElementById('<u></u>Name').value =3D=
=3D '' ||<br>
> > =A0 =A0 document.getElementById('<u></u>Location').value =
=3D=3D '') {<br>
><br>
> > =A0 alert('Name and location required.');<br>
> > =A0 =A0 =A0 return false;<br>
> > =A0 }<br>
> > =A0 return true;<br>
> > }<br>
><br>
> > </script><br>
> > </head><br>
><br>
> > <body ><br>
><br>
> > <h1>Simple Form Example</h1><br>
><br>
> > <h2>Insert data</h2><br>
> > <form method=3D"post" action=3D"forms.php"=
onsubmit=3D"return check_form();"><br>
> > =A0 Name: <input type=3D"text" name=3D"Name&quo=
t; id=3D"Name" /><br /><br>
> > =A0 Result: <input type=3D"text" name=3D"Locati=
on" id=3D"Location" /><br /><br>
> > =A0 <!-- Create the map here --><br>
> > =A0 <!--<div id=3D"map_canvas"></div>--&=
gt;<br>
> > =A0 <!-- Hidden input field for location selected on map -->=
;<br>
> > =A0 <!--<input type=3D"hidden" name=3D"locat=
ion" id=3D"location" />--><br>
> > =A0 <input type=3D"submit" value=3D"Submit"=
; /><br>
> > </form><br>
><br>
> > <h2>Table data</h2><br>
> > <p><br>
> > <?php<br>
> > // Show the data from table<br>
> > $table_data =3D $ftclient->query(SQLBuilder::<u></u>select($ta=
bleid));<br>
> > $table_data =3D explode("\n", $table_data);<br>
> > for($i =3D 0; $i < count($table_data); $i++) {<br>
> > =A0 echo $table_data[$i] . '<br />';<br>
> > }<br>
> > ?><br>
> > </p><br>
> > </body><br>
> > </html><br>
><br>
> > =A0#############################<u></u>##########################=
####<u></u>################ ###<br>
><br>
> > Thanks<br>
><br>
> > --<br>
> > You received this message because you are subscribed to the Googl=
e Groups<br>
> > "Fusion Tables API Users Group" group.<br>
> > To post to this group, send email to<br>
> > <a href=3D"mailto:fusion-tables-users-group@googlegroups.com" tar=
get=3D"_blank">fusion-tables-users-group@<u></u>googlegroups.com</a>.<br>
> > To unsubscribe from this group, send email to<br>
> > <a href=3D"mailto:fusion-tables-users-group%2Bunsubscribe@googleg=
roups.com" target=3D"_blank">fusion-tables-users-group+<u></u>unsubscribe@g=
ooglegroups.com</a>.<br>
> > For more options, visit this group at<br>
> ><a href=3D"http://groups.google.com/group/fusion-tables-users-grou=
p?hl=3Den" target=3D"_blank">http://groups.google.com/<u></u>group/fusion-t=
ables-users-<u></u>group?hl=3Den</a>.<br>
<br>
--<br>
You received this message because you are subscribed to the Google Groups &=
quot;Fusion Tables API Users Group" group.<br>
To post to this group, send email to <a href=3D"mailto:fusion-tables-users-=
group@googlegroups.com" target=3D"_blank">fusion-tables-users-group@<u></u>=
googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:fusion-tabl=
es-users-group%2Bunsubscribe@googlegroups.com" target=3D"_blank">fusion-tab=
les-users-group+<u></u>unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/fusion-tables-users-group?hl=3Den" target=3D"_blank">http://groups.goo=
gle.com/<u></u>group/fusion-tables-users-<u></u>group?hl=3Den</a>.<br>
<br>
</div></div></blockquote></div><br></div>
</blockquote></div></div></div><div><div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Fusion Tables API Users Group" group.<br></div></div>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msg/fusion-tables-users-group/-/_mDn50CMECQJ" target=3D"_blank">https:=
//groups.google.com/d/msg/fusion-tables-users-group/-/_mDn50CMECQJ</a>.<div=
>
<br>=20
To post to this group, send email to <a href=3D"mailto:fusion-tables-users-=
group@googlegroups.com" target=3D"_blank">fusion-tables-users-group@googleg=
roups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:fusion-tabl=
es-users-group%2Bunsubscribe@googlegroups.com" target=3D"_blank">fusion-tab=
les-users-group+unsubscribe@googlegroups.com</a>.<br></div>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/fusion-tables-users-group?hl=3Den-US" target=3D"_blank">http://groups.=
google.com/group/fusion-tables-users-group?hl=3Den-US</a>.<br>
</blockquote></div><br></div></div></div><div><div class=3D"h5">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Fusion Tables API Users Group" group.<br>
To post to this group, send email to <a href=3D"mailto:fusion-tables-users-=
group@googlegroups.com" target=3D"_blank">fusion-tables-users-group@googleg=
roups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:fusion-tabl=
es-users-group%2Bunsubscribe@googlegroups.com" target=3D"_blank">fusion-tab=
les-users-group+unsubscribe@googlegroups.com</a>.<br></div></div>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/fusion-tables-users-group?hl=3Den-US" target=3D"_blank">http://groups.=
google.com/group/fusion-tables-users-group?hl=3Den-US</a>.<br>
</blockquote></div><br></div>
--047d7b33d93455ab4404c460ee9d--