-
Notifications
You must be signed in to change notification settings - Fork 6
/
main.html
33 lines (29 loc) · 1.3 KB
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<h2>App Inventor (TinyWebDB) Web Database Service</h2>
<table border=0>
<tr valign="top">
<td><image src="images/customLogo.gif" width="200" hspace="10"></td>
<td>
<p>
This web service stores and retrieves values for an <a
href="http://appinventor.mit.edu/">App Inventor
for Android</a> app. App Inventor apps can access this service using the TinyWebDB component and setting the ServiceURL to the URL of this site. </p>
<p>This web service is a textfile based TinyWebDB test implement. <a href="https://github.com/edu2web/tinywebdb-php">read more...</a></p>
</td> </tr>
</table>
<h3> Search database for a tag</h3>
<form action="getvalue" method="post" enctype=application/x-www-form-urlencoded>
<p>Tag:<input type="text" name="tag" /></p>
<input type="hidden" name="fmt" value="html">
<input type="submit" value="Get value">
</form>
Returned as value to TinyWebDB component:
<b>(..)</b>
<br/>
<h3>Store a tag-value pair in the databse</h3>
<form action="storeavalue" method="post" enctype=application/x-www-form-urlencoded>
<p>Tag: <input type="text" name="tag" size="30"/></p>
<p>Value: <input type="text" name="value" size="30"/></p>
<input type="hidden" name="fmt" value="html">
<input type="submit" value="Store a value">
</form>
<br/>