..), in code blocks, xii
else clauses
when adding records, 54, 73, 74
when browsing, 17
when searching, 95
email addresses
querying, 93, 108
searching and, 94, 119??“120, 128
validating, 57
emails variable, 113
employees
information on, 108
printing list of, 16
index 150
employees, adding, 43??“58
HTML pages, creating, 44, 45??“48
PHP scripts, creating, 44, 49??“54
testing, 54??“56
employees, adding (using Ajax),
59??“86
Ajax, setting up, 64, 82
databases, updating, 72
form data, preparing, 65??“66, 83
form data, validating, 68??“71, 84
HTML pages, modifying, 62, 82
HTML pages, updating, 75??“79, 85
JavaScript files, creating, 62??“63, 83
overview of, 60??“61
PHP scripts, new, 67, 83
testing, 80??“81
XML, completing, 73??“74
employees, browsing, 11??“24
CSS style sheets and, 12, 19??“20, 24
databases, connecting to, 12, 18, 23
HTML pages, creating, 12, 13??“14, 22
PHP scripts, writing, 12, 15??“17,
22??“23
testing pages, 12, 21, 24
employees, browsing (using Ajax),
25??“42
functions, calling, 29??“31, 35??“36,
40, 41??“42
functions, making, 27??“28, 39
HTML pages, modifying, 37
PHP scripts, writing, 32??“34, 41
testing, 38, 42
employees, searching for, 87??“97
HTML pages, creating, 88, 89??“91, 97
PHP scripts, writing, 88, 92??“95, 97
testing, 96
employees, searching for (Ajaxenabled),
99??“128
Ajax elements, adding, 102, 124
display no results, 121
employee information, 116??“120,
127??“128
generated HMTL, 114??“115, 127
JavaScript files, adding functions,
111, 126
JavaScript files, creating, 103??“
106, 124
overview of, 100??“101, 124
PHP scripts, writing, 107??“110, 125
testing, 123
XML, handling, 113, 126
encodeURIComponent( ) function
when adding records, 83
when searching, 124
errors
databases, connecting to and, 18
error elements, 84
reporting, 17, 54
errors variable, 77
eval( ) function, 146
F
Firebug, 145
Firefox
debugging and, 15, 145
JavaScript and, 142
as required tool, xiv??“xv
testing Ajax applications and, 42
viewing XML and, 84, 125
Flash, 131
for loop, 115, 127
index 151
index
form data
preparing, 65??“66, 83
validating, 50??“52, 57, 68??“71, 84
forms.
Pages:
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127