
Storing Data ◾ 167
After learning the procedure of inserting rows in the Templates table, let us learn the
procedure of retrieving the rows from the Templates table and displaying them on the screen.
Listing Rows
We need to add a new page to the index.html file for displaying the rows that will be accessed
from the Templates table. So, let us add a page with the heading List Templates to the
index.html file. e code written in the index.html file is shown in Listing 7.6. Only the
code in bold is newly added; the rest is the same as we saw in Listing 7.4.
Listing 7.6 Code Written in the index.html File
<!DOCTYPE HTML>
<html>
<head>
<title>PhoneGap ...